diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-09-16 13:25:46 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2014-09-16 13:39:25 -0400 |
commit | 7e3821c097c05a4790abac53ddd26ef28cb7cf4d (patch) | |
tree | fd213567fec5691d0aa0339b27b65a003120a67c /.travis.yml | |
parent | ab3834baae2e48708de2be74217eaf9da9081fc3 (diff) |
travis: retry tests before giving up
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
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 |