aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-04-22 15:44:47 +0100
committerMike McQuaid2017-04-22 15:44:47 +0100
commit62764485c77cb99fbc1e6eea261cb60791905c8f (patch)
tree1e6591d2b97d1a3885ad0bd93c16b2a66efe010a
parent10d70aa93a25b80efe3581cf82e789f05716517d (diff)
downloadbrew-62764485c77cb99fbc1e6eea261cb60791905c8f.tar.bz2
travis.yml: cache Bundler output.
Travis needs some coaxing to find where we put it. This should improve build reliability due to network issues.
-rw-r--r--.travis.yml6
-rw-r--r--Library/Homebrew/test/.bundle/config1
2 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c9ec1e333..0ea85ab9d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,13 @@
language: ruby
+cache:
+ directories:
+ - $HOME/.gem/ruby
+ - Library/Homebrew/vendor/bundle
matrix:
include:
- os: osx
- osx_image: xcode8.1
+ osx_image: xcode8.3
rvm: system
- os: linux
rvm: 2.0.0
diff --git a/Library/Homebrew/test/.bundle/config b/Library/Homebrew/test/.bundle/config
index e451829e9..20549341c 100644
--- a/Library/Homebrew/test/.bundle/config
+++ b/Library/Homebrew/test/.bundle/config
@@ -1,3 +1,4 @@
---
BUNDLE_PATH: "../vendor/bundle"
BUNDLE_DISABLE_SHARED_GEMS: "true"
+BUNDLE_BIN: "../bin"