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
This commit is contained in:
Jonathan Leitschuh
2016-05-12 17:51:57 -04:00
parent bb64dd3546
commit 000a98f193

View File

@@ -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/
- $HOME/.gradle/wrapper/