travis: Only exit early if compilation took longer than 30 min
This commit is contained in:
parent
5029e94f85
commit
fa1db331de
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ before_script:
|
||||||
- set -o errexit; source .travis/test_05_before_script.sh
|
- set -o errexit; source .travis/test_05_before_script.sh
|
||||||
script:
|
script:
|
||||||
- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script_a.sh; fi
|
- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script_a.sh; fi
|
||||||
- if [ $SECONDS -gt 1500 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script_b.sh; fi
|
- if [ $SECONDS -gt 1800 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script_b.sh; fi
|
||||||
after_script:
|
after_script:
|
||||||
- echo $TRAVIS_COMMIT_RANGE
|
- echo $TRAVIS_COMMIT_RANGE
|
||||||
- echo $TRAVIS_COMMIT_LOG
|
- echo $TRAVIS_COMMIT_LOG
|
||||||
|
|
Loading…
Reference in a new issue