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
Merge #19276: ci: Move travis workarounds to .travis.yml
fa71667 ci: Move travis workarounds to .travis.yml (MarcoFalke)
Pull request description:
It seems odd to have travis related workarounds in the general ci config files. Fix that oddity by moving the travis related workarounds to the travis yaml file.
For unexplained reasons, this should also work around and thus close #19171
ACKs for top commit:
hebasto:
ACK fa71667, I have reviewed the code and it looks OK, I agree it can be merged.
Tree-SHA512: b4419d38e2b41f6e4d6e6b7658f1d972c40c390a49fe78808f8640d28efd84cc6668ce292d45b7c539e65b9e2ecbad10e796cb8f9329a0f1e7d0132ce962d226
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