diff options
author | Nan Liu <nan.liu@gmail.com> | 2012-05-14 10:04:14 -0700 |
---|---|---|
committer | Nan Liu <nan.liu@gmail.com> | 2012-05-14 10:04:14 -0700 |
commit | edd39b0301a7db0af5098baf7a0b228036038493 (patch) | |
tree | 69d9fca0bd526c26fcbe55700529dbf3933bface | |
parent | 9bd4362615994e0025d220bfb34609a689720d2b (diff) | |
parent | 30eb53235033a1701a40466b2999daf884ecd34a (diff) | |
download | puppet-tftp-edd39b0301a7db0af5098baf7a0b228036038493.tar.gz puppet-tftp-edd39b0301a7db0af5098baf7a0b228036038493.tar.bz2 |
Merge pull request #2 from branan/travsci
Add files for Travis CI
-rw-r--r-- | .travis.yml | 15 | ||||
-rw-r--r-- | Gemfile | 13 |
2 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c7970d1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: ruby +rvm: + - 1.8.7 +before_script: +after_script: +script: "rake spec" +branches: + only: + - master +env: + - PUPPET_VERSION=2.7.13 + - PUPPET_VERSION=2.7.6 + - PUPPET_VERSION=2.6.9 +notifications: + email: false @@ -0,0 +1,13 @@ +source :rubygems + +puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7'] + +gem 'puppet', puppetversion + +group :test do + gem 'rake', '>= 0.9.0' + gem 'rspec', '>= 2.8.0' + gem 'rspec-puppet', '>= 0.1.1' + gem 'mocha', '>= 0.11.0' + gem 'puppet-lint', '>= 0.1.0' +end |