From a785a43ef3375d1b910b68963e55073d7fa193d0 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Thu, 22 Feb 2018 20:26:52 -0500 Subject: [PATCH] travis: Attempt to workaround the constant travis failures I'm beginning to think we need a more reliable CI... --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5087d3df..98e9bd7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ dist: trusty before_install: # apt update tends to be flaky in travis, retry up to 3 times on failure # https://docs.travis-ci.com/user/common-build-problems/#travis_retry - - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then travis_retry sudo apt update; fi + - if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then travis_retry travis_retry sudo apt update; fi - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - git fetch --unshallow install: 'make deps'