Skip to content

Commit a4f3677

Browse files
author
Morgan Haskel
committed
Merge pull request #115 from cmurphy/rspec-puppet-2
Test and future parser updates
2 parents fd6a114 + 8081b1f commit a4f3677

File tree

6 files changed

+22
-37
lines changed

6 files changed

+22
-37
lines changed

.sync.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
---
2+
.travis.yml:
3+
extras:
4+
- rvm: 1.8.7
5+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
6+
- rvm: 1.8.7
7+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
28
Gemfile:
39
optional:
410
':development, :unit_tests':

.travis.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
---
2+
sudo: false
23
language: ruby
34
bundler_args: --without system_tests
45
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
56
matrix:
67
fast_finish: true
78
include:
9+
- rvm: 1.9.3
10+
env: PUPPET_GEM_VERSION="~> 3.4.0"
811
- rvm: 1.8.7
9-
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
10-
- rvm: 1.8.7
11-
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
12+
env: PUPPET_GEM_VERSION="~> 3.0"
1213
- rvm: 1.9.3
1314
env: PUPPET_GEM_VERSION="~> 3.0"
14-
- rvm: 2.0.0
15+
- rvm: 1.9.3
16+
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
17+
- rvm: 2.1.5
1518
env: PUPPET_GEM_VERSION="~> 3.0"
19+
- rvm: 2.1.5
20+
env: PUPPET_GEM_VERSION="~> 3.4.0"
21+
- rvm: 2.1.5
22+
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
23+
- rvm: 1.8.7
24+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.6.0"
25+
- rvm: 1.8.7
26+
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
1627
notifications:
1728
email: false

Gemfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
source ENV['GEM_SOURCE'] || "https://rubygems.org"
22

33
group :development, :unit_tests do
4-
gem 'rake', :require => false
54
gem 'rspec-core', '3.1.7', :require => false
6-
gem 'rspec-puppet', '~> 1.0', :require => false
75
gem 'puppetlabs_spec_helper', :require => false
8-
gem 'puppet-lint', :require => false
96
gem 'simplecov', :require => false
107
gem 'puppet_facts', :require => false
118
gem 'json', :require => false

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'puppetlabs_spec_helper/rake_tasks'
22
require 'puppet-lint/tasks/puppet-lint'
33

4-
PuppetLint.configuration.fail_on_warnings
4+
PuppetLint.configuration.fail_on_warnings = true
55
PuppetLint.configuration.send('relative')
66
PuppetLint.configuration.send('disable_80chars')
77
PuppetLint.configuration.send('disable_class_inherits_from_params_class')

spec/fixtures/manifests/site.pp

Lines changed: 0 additions & 22 deletions
This file was deleted.

spec/hosts/default_spec.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)