Skip to content

Commit 7fa12de

Browse files
stephenrjohnsonStephen
authored andcommitted
Merge branch 'pall-valmundsson-travis-matrix'
2 parents 057340e + 77f6f45 commit 7fa12de

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
language: ruby
2+
bundler_args: --without system_tests
23
rvm:
34
- 1.9.3
45
- 2.0.0
56
script: "bundle exec rake test"
7+
env:
8+
matrix:
9+
- PUPPET_GEM_VERSION="~> 3.7.0"
10+
- PUPPET_GEM_VERSION="~> 3.7.0" FUTURE_PARSER="yes" STRICT_VARIABLES="no"
11+
- PUPPET_GEM_VERSION="~> 3.7.0" FUTURE_PARSER="yes" STRICT_VARIABLES="yes"
12+
- PUPPET_GEM_VERSION="~> 4.0.0"

Gemfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
# A sample Gemfile
22
source "https://rubygems.org"
33

4-
gem 'puppet'
4+
if puppetversion = ENV['PUPPET_GEM_VERSION']
5+
gem 'puppet', puppetversion
6+
else
7+
gem 'puppet', '< 4.0.0'
8+
end
59

610
gem 'rake'
711
gem 'rspec'
812
gem 'puppet-lint'
9-
gem 'beaker'
10-
gem 'beaker-rspec'
1113
gem 'rspec-puppet'
1214
gem 'puppetlabs_spec_helper'
1315
gem 'puppet-syntax'
16+
17+
group :system_tests do
18+
gem 'beaker'
19+
gem 'beaker-rspec'
20+
end

0 commit comments

Comments
 (0)