Supply different gemfiles to Travis-CI
Use Travis-CI's built in support for gem version differentiation by gemfile.
This commit is contained in:
parent
636e77356a
commit
31bc353aff
12
.travis.yml
12
.travis.yml
@ -1,7 +1,11 @@
|
||||
rvm: 1.9.3
|
||||
language: ruby
|
||||
rvm:
|
||||
- 1.9.3
|
||||
- 2.0.0
|
||||
- 2.1.0
|
||||
gemfile:
|
||||
- gemfiles/Gemfile.puppet-3.3.0
|
||||
- gemfiles/Gemfile.puppet-3.4.0
|
||||
notifications:
|
||||
email:
|
||||
- 'inkblot@movealong.org'
|
||||
env:
|
||||
- PUPPET_VERSION=3.3.0
|
||||
- PUPPET_VERSION=3.4.0
|
||||
|
||||
13
Gemfile
13
Gemfile
@ -1,13 +0,0 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
if ENV.key?('PUPPET_VERSION')
|
||||
puppetversion = "= #{ENV['PUPPET_VERSION']}"
|
||||
else
|
||||
puppetversion = "~> 3.4.1"
|
||||
end
|
||||
|
||||
gem 'rake'
|
||||
gem 'puppet', puppetversion
|
||||
gem 'puppet-lint'
|
||||
gem 'rspec-puppet'
|
||||
gem 'puppetlabs_spec_helper'
|
||||
7
gemfiles/Gemfile.puppet-3.3.0
Normal file
7
gemfiles/Gemfile.puppet-3.3.0
Normal file
@ -0,0 +1,7 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'rake'
|
||||
gem 'puppet', '=3.3.0'
|
||||
gem 'puppet-lint'
|
||||
gem 'rspec-puppet'
|
||||
gem 'puppetlabs_spec_helper'
|
||||
@ -9,7 +9,7 @@ GEM
|
||||
metaclass (0.0.4)
|
||||
mocha (1.1.0)
|
||||
metaclass (~> 0.0.1)
|
||||
puppet (3.4.3)
|
||||
puppet (3.3.0)
|
||||
facter (~> 1.6)
|
||||
hiera (~> 1.0)
|
||||
rgen (~> 0.6.5)
|
||||
@ -44,7 +44,7 @@ PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
puppet (~> 3.4.1)
|
||||
puppet (= 3.3.0)
|
||||
puppet-lint
|
||||
puppetlabs_spec_helper
|
||||
rake
|
||||
7
gemfiles/Gemfile.puppet-3.4.0
Normal file
7
gemfiles/Gemfile.puppet-3.4.0
Normal file
@ -0,0 +1,7 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'rake'
|
||||
gem 'puppet', '=3.4.0'
|
||||
gem 'puppet-lint'
|
||||
gem 'rspec-puppet'
|
||||
gem 'puppetlabs_spec_helper'
|
||||
51
gemfiles/Gemfile.puppet-3.4.0.lock
Normal file
51
gemfiles/Gemfile.puppet-3.4.0.lock
Normal file
@ -0,0 +1,51 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
diff-lcs (1.2.5)
|
||||
facter (1.7.6)
|
||||
hiera (1.3.4)
|
||||
json_pure
|
||||
json_pure (1.8.1)
|
||||
metaclass (0.0.4)
|
||||
mocha (1.1.0)
|
||||
metaclass (~> 0.0.1)
|
||||
puppet (3.4.0)
|
||||
facter (~> 1.6)
|
||||
hiera (~> 1.0)
|
||||
rgen (~> 0.6.5)
|
||||
puppet-lint (1.1.0)
|
||||
puppet-syntax (1.3.0)
|
||||
rake
|
||||
puppetlabs_spec_helper (0.8.2)
|
||||
mocha
|
||||
puppet-lint
|
||||
puppet-syntax
|
||||
rake
|
||||
rspec
|
||||
rspec-puppet
|
||||
rake (10.4.2)
|
||||
rgen (0.6.6)
|
||||
rspec (3.1.0)
|
||||
rspec-core (~> 3.1.0)
|
||||
rspec-expectations (~> 3.1.0)
|
||||
rspec-mocks (~> 3.1.0)
|
||||
rspec-core (3.1.7)
|
||||
rspec-support (~> 3.1.0)
|
||||
rspec-expectations (3.1.2)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.1.0)
|
||||
rspec-mocks (3.1.3)
|
||||
rspec-support (~> 3.1.0)
|
||||
rspec-puppet (1.0.1)
|
||||
rspec
|
||||
rspec-support (3.1.2)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
puppet (= 3.4.0)
|
||||
puppet-lint
|
||||
puppetlabs_spec_helper
|
||||
rake
|
||||
rspec-puppet
|
||||
Loading…
Reference in New Issue
Block a user