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:
parent
ed6d35e4a8
commit
72499fb193
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue