Add Travis CI support

Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
This commit is contained in:
Paul Belanger 2012-06-23 17:15:47 -04:00
parent 7d0b5709c9
commit ec1a465e50
3 changed files with 18 additions and 0 deletions

5
.gemfile Normal file
View 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
View file

@ -0,0 +1 @@
pkg

12
.travis.yml Normal file
View 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