diff --git a/.travis.yml b/.travis.yml index 4f9db8f48..2ce0a184b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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