Advertisement
Guest User

Untitled

a guest
Feb 18th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. stages:
  2. - test
  3. - sonar
  4.  
  5. services:
  6. - mariadb:10.0.29
  7.  
  8. variables:
  9. MYSQL_ROOT_PASSWORD: root
  10. MYSQL_DATABASE: testbdd
  11.  
  12. test:
  13. stage: test
  14. artifacts:
  15. expire_in: 1 day
  16. paths:
  17. - target/
  18. before_script:
  19. - apt-get update
  20. - apt-get -y install mysql-client
  21. - mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb < "src/main/resources/script.sql"
  22. script:
  23. - mvn -Dspring.profile.active=test test -B
  24. - cat target/site/jacoco/index.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement