Skip to content

Commit

Permalink
Merge pull request #66 from cotsog/patch-1
Browse files Browse the repository at this point in the history
Cache ~/.rvm for jruby jobs
  • Loading branch information
DavidS authored Apr 13, 2018
2 parents 9caab67 + 9acb950 commit 7a065e5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ matrix:
include:
- rvm: 2.4.3
env: PUPPET_GEM_VERSION='~> 5' # 5.5
- rvm: jruby-1.7.26
env: PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
- rvm: jruby-9.1.9.0
env: PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
- env: RVM="jruby-1.7.26" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
cache:
bundler: true
directories: ~/.rvm
before_install: rvm use jruby-1.7.26 --install --binary --fuzzy
- env: RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
cache:
bundler: true
directories: ~/.rvm
before_install: rvm use jruby-9.1.9.0 --install --binary --fuzzy
- rvm: 2.4.3
env: CHECK=rubocop
- rvm: 2.4.3
Expand Down

0 comments on commit 7a065e5

Please sign in to comment.