From d267dd2c1308daa794055cd2817773f5597217f0 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 26 Mar 2018 18:29:30 -0400 Subject: [PATCH] travis: enable apt retry on fail This is a workaround for an unsolved travis issue that is causing CI instances to sporadically fail due to 'unable to connect' issues during apt stage. Ref: https://github.com/travis-ci/travis-ci/issues/8507 Ref: https://github.com/travis-ci/travis-ci/issues/9112#issuecomment-376305909 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0bb19fb9f..e80b585ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ language: c sudo: required addons: apt: + config: + retries: true sources: - ubuntu-toolchain-r-test - llvm-toolchain-precise-3.9