aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-09-16 13:25:46 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-09-16 13:39:25 -0400
commit7e3821c097c05a4790abac53ddd26ef28cb7cf4d (patch)
treefd213567fec5691d0aa0339b27b65a003120a67c /.travis.yml
parentab3834baae2e48708de2be74217eaf9da9081fc3 (diff)
travis: retry tests before giving up
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7580adf5c4..82f3290110 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -58,6 +58,6 @@ script:
- cd bitcoin-$HOST
- ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
- make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
- - if [ "$RUN_TESTS" = "true" ]; then make check; fi
+ - if [ "$RUN_TESTS" = "true" ]; then travis_retry make check; fi
after_script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (echo "Upload goes here. Something like: scp -r $BASE_OUTDIR server" || echo "upload failed"); fi