Travis CI tweaks

Tweak our Travis CI configuration and the one we suggest for taps to
be faster and use caching.
This commit is contained in:
Mike McQuaid 2017-05-07 16:00:04 +01:00
parent 2372872974
commit 5cdb0d0a6d
2 changed files with 4 additions and 1 deletions

View File

@ -8,9 +8,11 @@ matrix:
osx_image: xcode8.3
rvm: system
- os: linux
sudo: false
rvm: 2.0.0
before_install:
- rm -rf Library/Homebrew/vendor/bundle/
- export GEM_HOME="$PWD/Library/Homebrew/vendor/ruby/2.0.0"
- gem list --installed bundler || gem install bundler
- export PATH="$GEM_HOME/bin:$PATH"

View File

@ -46,9 +46,10 @@ module Homebrew
travis = <<-EOS.undent
language: ruby
os: osx
env: OSX=10.12
osx_image: xcode8.3
rvm: system
cache:
directories: /usr/local/Homebrew/Library/Homebrew/vendor
before_install:
- export TRAVIS_COMMIT="$(git rev-parse --verify -q HEAD)"