From: Hans Kristian Rosbach Date: Tue, 17 Sep 2019 14:12:22 +0000 (+0200) Subject: Make travis retry its operations, to attempt to avoid many of the X-Git-Tag: 1.9.9-b1~434 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e4b0e087a01bc8cfcd5852bc4af535bd57750f4;p=thirdparty%2Fzlib-ng.git Make travis retry its operations, to attempt to avoid many of the failed builds due to silly things like git failed to look up github.com or apt failed to install deps due to network timeout, etc. Make curl retry download of codecov bash script, and make codecov re-try the uploads, since all the network errors travis has is causing erratic coverage data. --- diff --git a/.travis.yml b/.travis.yml index eb9fd1eb..256db2a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: c cache: ccache dist: xenial +bundler_args: --retry 5 env: global: @@ -369,4 +370,4 @@ script: - $TESTER after_success: - - bash <(curl -s https://codecov.io/bash) + - bash <(curl -s https://codecov.io/bash --connect-timeout 10 --retry 8 --retry-delay 10) -U "--connect-timeout 10 --retry 8 --retry-delay 10"