summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2018-03-26 18:29:30 -0400
committerJay Satiro <raysatiro@yahoo.com>2018-03-26 18:29:30 -0400
commitd267dd2c1308daa794055cd2817773f5597217f0 (patch)
tree23d5486b38679ee710972c17fdf6ee1881ca23ff /.travis.yml
parent9645f18f25918f17ef46fde304b0ae24e31c84fa (diff)
downloadcurl-d267dd2c1308daa794055cd2817773f5597217f0.tar.gz
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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
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