From 6e4b0e087a01bc8cfcd5852bc4af535bd57750f4 Mon Sep 17 00:00:00 2001 From: Hans Kristian Rosbach Date: Tue, 17 Sep 2019 16:12:22 +0200 Subject: [PATCH] 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. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.47.2