diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-10-24 12:07:08 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-10-24 10:49:26 -0400 |
commit | 5893e72a20ffa5cfcd6d0c7c5c934b92546d76c3 (patch) | |
tree | 08729d0bef90ef2df00e61f98f1084d3524c4bc7 /.travis.yml | |
parent | f44935cdb7321af242ce9f242975f096807b97f7 (diff) |
travis: Fix OSX build
Turn off homebrew autoupdating before installing ccache, to avoid:
/usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must
be run under Ruby 2.3! You're running 2.0.0. (RuntimeError)
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index a70b55f4c..856360e27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull anholt/xserver-travis ; fi install: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache ; fi before_script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo FROM anholt/xserver-travis:v6 > Dockerfile ; fi |