Skip to content

Commit 87fa8fd

Browse files
committed
Adding test scaffolding
This commit adds a Gemfile with testing dependencies, Rakefile which includes the puppetlabs_spec_helper tasks, and travis build config.
1 parent 8621d91 commit 87fa8fd

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
.*.swp
2+
Gemfile.lock
3+
spec/fixtures/

.travis.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: ruby
2+
env:
3+
- PUPPET_VERSION=4.2.0
4+
- PUPPET_VERSION=4.1.0
5+
- PUPPET_VERSION=4.0.0
6+
- PUPPET_VERSION=3.8.1
7+
- PUPPET_VERSION=3.7.0
8+
rvm:
9+
- 2.2.0
10+
- 2.1.0
11+
- 2.0.0
12+
script:
13+
- "bundle exec rake spec"

Gemfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'puppet', nil || ENV['PUPPET_VERSION']
4+
gem 'puppetlabs_spec_helper', '0.10.3'
5+
gem 'webmock', '1.22.1'
6+
gem 'puppetclassify', '0.1.0'

Rakefile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require 'puppetlabs_spec_helper/rake_tasks'

0 commit comments

Comments
 (0)