diff --git a/.travis.yml b/.travis.yml index 3c20a6ea6..1da1b5aa6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,7 +52,8 @@ cache: # https://jira.apache.org/jira/browse/FINERACT-732 removed that again, because it made Travis CI fail. script: - date - - ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest test && ./gradlew --console=plain integrationTest - - docker-compose build && docker-compose up -d && sleep 5s && http --verify no --timeout 240 --check-status get https://localhost:8443/fineract-provider/health # using "&&" instead of x2 "-" means that integrationTest does not run if test fails, which makes sense. # @see https://docs.travis-ci.com/user/job-lifecycle/#customizing-the-build-phase + - ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest test && ./gradlew --console=plain integrationTest +# We must stop mysql the mysql system service to avoid port 3306 conflicts (unless we run the mysql in docker-compose on another port; req. FINERACT-773) + - sudo service mysql stop && docker-compose build && docker-compose up -d && sleep 5s && http --verify no --timeout 240 --check-status get https://localhost:8443/fineract-provider/health