You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -53,14 +53,16 @@ before_install:
53
53
install:
54
54
- set -o errexit; source ./ci/test/04_install.sh
55
55
before_script:
56
-
- set -o errexit; source ./ci/test/05_before_script.sh
56
+
# Temporary workaround for https://github.com/bitcoin/bitcoin/issues/16368
57
+
- for i in {1..4}; do echo "$(sleep 500)" ; done &
58
+
- set -o errexit; source ./ci/test/05_before_script.sh &> "/dev/null"
57
59
script:
58
60
- export CONTINUE=1
59
61
- if [ $SECONDS -gt 1200 ]; then export CONTINUE=0; fi # Likely the depends build took very long
60
-
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi #Whitelisted repo (90 minutes build time)
62
+
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi #continue on repos with extended build time (90 minutes)
61
63
- if [ $CONTINUE = "1" ]; then set -o errexit; source ./ci/test/06_script_a.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
62
64
- 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
63
-
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi #Whitelisted repo (90 minutes build time)
65
+
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi #continue on repos with extended build time (90 minutes)
64
66
- if [ $CONTINUE = "1" ]; then set -o errexit; source ./ci/test/06_script_b.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
0 commit comments