Skip to content

Commit

Permalink
Fix apt-get update -q causing build to fail (#20)
Browse files Browse the repository at this point in the history
`sudo apt-get update -q` can fail a site doesn't respond.
This is the solution proposed here:
Related travis-ci/travis-ci#5221
  • Loading branch information
JLLeitschuh committed May 12, 2016
1 parent bb64dd3 commit 000a98f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -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


Expand All @@ -13,4 +13,4 @@ before_cache:
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.gradle/wrapper/

0 comments on commit 000a98f

Please sign in to comment.