Skip to content

Commit 2eabd47

Browse files
committed
update common Gemfile, travis.yml
updating common files with changes that are configured in the profiles: Gemfile, travis.yml
1 parent 15fd169 commit 2eabd47

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ rvm:
22
- 1.8.7
33
- 1.9.3
44
- 2.0.0
5+
- 2.1.0
56
language: ruby
67
bundler_args: --without development integration openstack
78
env:
@@ -16,3 +17,11 @@ matrix:
1617
env: PUPPET_VERSION="~> 2.7.0"
1718
- rvm: 2.0.0
1819
env: PUPPET_VERSION="~> 2.7.0"
20+
- rvm: 2.1.0
21+
env: PUPPET_VERSION="~> 2.7.0"
22+
- rvm: 1.8.7
23+
env: PUPPET_VERSION="~> 4.0.0"
24+
- rvm: 1.9.3
25+
env: PUPPET_VERSION="~> 4.0.0"
26+
- rvm: 2.0.0
27+
env: PUPPET_VERSION="~> 4.0.0"

Gemfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ end
1111

1212
group :test do
1313
gem 'rake'
14+
# bugfix for ruby 1.8, puppet+rspec interplay
15+
# https://github.com/rspec/rspec-core/issues/1864
16+
if RUBY_VERSION.start_with? '1.8'
17+
gem 'rspec', '~> 3.1.0', :require => false
18+
end
1419
gem 'rspec-puppet'
1520
# avoid NoMethodError: private method `clone' called for #<RuboCop::Cop::CopStore:0x00000104e286c8>
1621
gem 'puppetlabs_spec_helper', :git => 'https://github.com/ehaselwanter/puppetlabs_spec_helper'
1722
gem 'puppet-lint'
18-
gem 'rubocop', '~> 0.27' if RUBY_VERSION > '1.9.2'
23+
gem 'rubocop', '~> 0.31' if RUBY_VERSION > '1.9.2'
1924
end
2025

2126
group :development do

0 commit comments

Comments
 (0)