diff options
| author | Mike McQuaid | 2017-05-07 13:52:57 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-05-07 13:52:57 +0100 |
| commit | ee253e465b8e2f5acdb53daf572311e87055e082 (patch) | |
| tree | 59d478b0a91845c3706e6cd312e7d3469c0a594a /.travis.yml | |
| parent | 6edf9382bcc1240ad6f97c8b752cfe56cef9965d (diff) | |
| download | brew-ee253e465b8e2f5acdb53daf572311e87055e082.tar.bz2 | |
Vendor all Homebrew's gems.
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 5e1906a5c..f268e40ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: ruby -cache: - directories: - - $HOME/.gem/ruby - - Library/Homebrew/vendor/bundle +bundler_args: --path Library/Homebrew/vendor --standalone --jobs 3 +cache: bundler matrix: include: @@ -13,6 +11,9 @@ matrix: rvm: 2.0.0 before_install: + - export GEM_HOME="$PWD/Library/Homebrew/vendor/ruby/2.0.0" + - gem list --installed bundler || gem install bundler + - export PATH="$GEM_HOME/bin:$PATH" - export HOMEBREW_DEVELOPER=1 - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then HOMEBREW_REPOSITORY="$(brew --repo)"; |
