.gitlab-ci.yml mysql test

This commit is contained in:
Bossanyi Tibor 2020-05-08 13:49:32 +00:00
parent da68faefa0
commit b069ea4d66

View File

@ -19,6 +19,7 @@ before_script:
- echo `pwd` # debug
- echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
- export GRADLE_USER_HOME=`pwd`/.gradle
- mysql --version
cache:
paths:
@ -39,6 +40,7 @@ build:
test:
stage: test
script:
- echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=mysql "${MYSQL_DATABASE}"
- ./gradlew check -Pargs='spring.profiles.active=deploy'
deploy: