From dc0c1583f503a699d17a7846eeff0cf6f0facdcb Mon Sep 17 00:00:00 2001 From: guyben Date: Mon, 11 Mar 2019 06:52:33 -0700 Subject: [PATCH] Set the travis CI build to continue even if some tasks failed The --continue argument makes gradle try and build every task whose dependencies finished successfully. This is in contrast to the "regular" behavior of stopping at the first failure. This is useful because it will show us all the failed tests (from all test tasks) instead of just the first test task that failed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=237792667 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3df92ce42..18fc2b885 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,4 +56,4 @@ env: # output, instead of the default 10. # See notes on the CREDZ and REPORT_GCS_BUCKET environment variable in the # comments at the top of the file. -script: cd gradle && echo "$CREDZ" >credz.json && chmod 755 ./gradlew && travis_wait 45 ./gradlew build -P gcsBucket="$REPORT_GCS_BUCKET" -P gcsCredentialsFile=credz.json -P gcsMultithreadedUpload=yes +script: cd gradle && echo "$CREDZ" >credz.json && chmod 755 ./gradlew && travis_wait 45 ./gradlew build --continue -P gcsBucket="$REPORT_GCS_BUCKET" -P gcsCredentialsFile=credz.json -P gcsMultithreadedUpload=yes