Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stages:
- - test
- - sonar
- services:
- - mariadb:10.0.29
- variables:
- MYSQL_ROOT_PASSWORD: root
- MYSQL_DATABASE: testbdd
- test:
- stage: test
- artifacts:
- expire_in: 1 day
- paths:
- - target/
- before_script:
- - apt-get update
- - apt-get -y install mysql-client
- - mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mariadb < "src/main/resources/script.sql"
- script:
- - mvn -Dspring.profile.active=test test -B
- - cat target/site/jacoco/index.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement