Add Travis CI support
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
This commit is contained in:
parent
7d0b5709c9
commit
ec1a465e50
3 changed files with 18 additions and 0 deletions
5
.gemfile
Normal file
5
.gemfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
source :rubygems
|
||||
|
||||
puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
|
||||
gem 'puppet', puppetversion
|
||||
gem 'puppetlabs_spec_helper', '>= 0.1.0'
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
pkg
|
12
.travis.yml
Normal file
12
.travis.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
language: ruby
|
||||
rvm:
|
||||
- 1.8.7
|
||||
script:
|
||||
- "rake lint"
|
||||
- "rake spec"
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
env:
|
||||
- PUPPET_VERSION=2.7.11
|
||||
gemfile: .gemfile
|
Loading…
Reference in a new issue