travis: Bump second timeout to 33 minutes, Add rationale

This commit is contained in:
MarcoFalke 2019-04-11 13:52:02 -04:00
parent bb68abe784
commit fa2dfbf30a
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -64,7 +64,7 @@ script:
- export CONTINUE=1
- if [ $SECONDS -gt 1200 ]; then export CONTINUE=0; fi # Likely the depends build took very long
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_a.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
- if [ $SECONDS -gt 1800 ]; then export CONTINUE=0; fi # Likely the build took very long
- if [ $SECONDS -gt 2000 ]; then export CONTINUE=0; fi # Likely the build took very long; The tests take about 1000s, so we should abort if we have less than 50*60-1000=2000s left
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_b.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
after_script:
- echo $TRAVIS_COMMIT_RANGE