From 000a98f193340bfbe577ee2fc604a2edbb11579c Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Thu, 12 May 2016 17:51:57 -0400 Subject: [PATCH] Fix apt-get update -q causing build to fail (#20) `sudo apt-get update -q` can fail a site doesn't respond. This is the solution proposed here: Related https://github.com/travis-ci/travis-ci/issues/5221 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d57c778362..a0c794d857 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ language: java before_install: - sudo add-apt-repository ppa:wpilib/toolchain -y - - sudo apt-get update -q + - sudo apt-get update -q || true - sudo apt-get install frc-toolchain -y @@ -13,4 +13,4 @@ before_cache: cache: directories: - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ \ No newline at end of file + - $HOME/.gradle/wrapper/