Skip to content

Commit b120645

Browse files
committed
Merge #16595: travis: use extended 90 minute timeout when available
fa1e9c6 travis: Bump timeout from 50 minutes to 90 (MarcoFalke) Pull request description: The default is 50 minutes, see https://docs.travis-ci.com/user/customizing-the-build#build-timeouts Travis is willing to raise the default for the `bitcoin/bitcoin` repo slug to 90 minutes, see bitcoin/bitcoin#16595 (comment) This allows us to bypass the "exit early to save the depends or compiler cache" for `bitcoin/bitcoin`, but not for forks of this repo. Fixes #16148 ACKs for top commit: practicalswift: ACK fa1e9c6 -- diff looks correct laanwj: ACK fa1e9c6 fanquake: ACK fa1e9c6 Tree-SHA512: dbd929729dadbff756ac66a6d7b58d633a06396c0c08738c93adba6cbc08f0462c07f9883b8b76d26af4f3056d43f6359cf562aa8bcad0412aa7f4281274231d
2 parents 05ccbe9 + fa1e9c6 commit b120645

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ before_script:
6464
script:
6565
- export CONTINUE=1
6666
- if [ $SECONDS -gt 1200 ]; then export CONTINUE=0; fi # Likely the depends build took very long
67+
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi # Whitelisted repo (90 minutes build time)
6768
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_a.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
6869
- 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
70+
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi # Whitelisted repo (90 minutes build time)
6971
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_b.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
7072
after_script:
7173
- echo $TRAVIS_COMMIT_RANGE

0 commit comments

Comments
 (0)