File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ matrix:
20
20
cache :
21
21
bundler : true
22
22
directories : ~/.rvm
23
- before_install : rvm use jruby-1.7.26 --install --binary --fuzzy
23
+ before_install : rvm use jruby-1.7.26 --install --binary --fuzzy && gem install bundler -v '~> 1.7.0'
24
24
# disable coverage on jruby9k as this confuses codecov
25
25
- env : RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
26
26
before_cache : pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
Original file line number Diff line number Diff line change @@ -7,15 +7,13 @@ gemspec
7
7
8
8
group :tests do
9
9
gem 'codecov'
10
- # license_finder does not install on windows using older versions of rubygems.
11
- # ruby 2.4 is confirmed working on appveyor.
12
- gem 'license_finder' if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '2.4.0' )
13
10
gem 'rake' , '~> 10.0'
14
11
gem 'rspec' , '~> 3.0'
15
12
# rubocop 0.58 throws when testing against ruby 2.1, so pin to the latest,
16
13
# unless we're dealing with jruby...
17
14
if RUBY_PLATFORM == 'java'
18
15
# load any rubocop version that works on java for the Rakefile
16
+ gem 'parser' , '2.3.3.1'
19
17
gem 'rubocop' , '0.41.2'
20
18
elsif Gem ::Version . new ( RUBY_VERSION ) < Gem ::Version . new ( '2.2.0' )
21
19
gem 'rubocop' , '0.57.2'
@@ -27,6 +25,9 @@ group :tests do
27
25
# This needs to be removed once we drop puppet4 support.
28
26
gem 'rubocop' , '~> 0.57.0'
29
27
gem 'rubocop-rspec'
28
+ # license_finder does not install on windows using older versions of rubygems.
29
+ # ruby 2.4 is confirmed working on appveyor.
30
+ gem 'license_finder' if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '2.4.0' )
30
31
end
31
32
gem 'simplecov-console'
32
33
# the test gems required for module testing
You can’t perform that action at this time.
0 commit comments