Skip to content

Commit

Permalink
Try to fix missing packages with preventive apt-get update
Browse files Browse the repository at this point in the history
(cherry picked from commit 15ed1ea)
  • Loading branch information
simonspa committed Feb 7, 2016
1 parent 697f039 commit 8828506
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ before_install:
- $CXX --version
- $CC --version

- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update; fi

# OS X: update brew cache:
- if [ $TRAVIS_OS_NAME == osx ]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$CC" == "gcc" ]]; then CC=gcc-4.9; fi
Expand Down

0 comments on commit 8828506

Please sign in to comment.