From 72499fb19362beac5d4fb356ff508fe9d6fbd6bc Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Fri, 5 Feb 2016 12:35:21 -0500 Subject: [PATCH] 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. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index b9a55ab..7a03776 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ branches: - gh-pages sudo: false language: ruby +cache: bundler script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" bundler_args: --without rake matrix: