travis: enable bundler caching in builds

From https://docs.travis-ci.com/user/caching:

On Ruby and Objective-C projects, installing dependencies via Bundler
can make up a large portion of the build duration. Caching the bundle
between builds drastically reduces the time a build takes to run.
This commit is contained in:
Matthew Haughton 2016-02-05 12:35:21 -05:00
parent ed6d35e4a8
commit 72499fb193

View file

@ -5,6 +5,7 @@ branches:
- gh-pages - gh-pages
sudo: false sudo: false
language: ruby language: ruby
cache: bundler
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
bundler_args: --without rake bundler_args: --without rake
matrix: matrix: