travis.yml: cache Bundler output.

Travis needs some coaxing to find where we put it. This should improve
build reliability due to network issues.
This commit is contained in:
Mike McQuaid 2017-04-22 15:44:47 +01:00
parent 10d70aa93a
commit 62764485c7
2 changed files with 6 additions and 1 deletions

View File

@ -1,9 +1,13 @@
language: ruby language: ruby
cache:
directories:
- $HOME/.gem/ruby
- Library/Homebrew/vendor/bundle
matrix: matrix:
include: include:
- os: osx - os: osx
osx_image: xcode8.1 osx_image: xcode8.3
rvm: system rvm: system
- os: linux - os: linux
rvm: 2.0.0 rvm: 2.0.0

View File

@ -1,3 +1,4 @@
--- ---
BUNDLE_PATH: "../vendor/bundle" BUNDLE_PATH: "../vendor/bundle"
BUNDLE_DISABLE_SHARED_GEMS: "true" BUNDLE_DISABLE_SHARED_GEMS: "true"
BUNDLE_BIN: "../bin"