Merge pull request #633 from vorburger/travis-skip-integration-test-if-test-fails

fix .travis.yml so that integrationTest does not run if test already failed
This commit is contained in:
Awasum Yannick
2019-09-05 23:24:20 +01:00
committed by GitHub
+3 -2
View File
@@ -51,5 +51,6 @@ 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 clean integrationTest
- ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest test && ./gradlew --console=plain clean integrationTest
# 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