Skip to content

Commit 677a7ca

Browse files
test future parser and re-enable puppet 4 testing
1 parent c52fab7 commit 677a7ca

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ rvm:
33
- 1.9.3
44
- 2.0.0
55
script: "bundle exec rake test"
6+
env:
7+
matrix:
8+
- PUPPET_GEM_VERSION="~> 3.7.0"
9+
- PUPPET_GEM_VERSION="~> 3.7.0" FUTURE_PARSER="yes" STRICT_VARIABLES="no"
10+
- PUPPET_GEM_VERSION="~> 3.7.0" FUTURE_PARSER="yes" STRICT_VARIABLES="yes"
11+
- PUPPET_GEM_VERSION="~> 4.0.0"

Gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# A sample Gemfile
22
source "https://rubygems.org"
33

4-
gem 'puppet', '< 4.0.0'
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'

0 commit comments

Comments
 (0)