]> gitweb.fluxo.info Git - puppet-tftp.git/commitdiff
Add files for Travis CI
authorBranan Purvine-Riley <branan@puppetlabs.com>
Tue, 8 May 2012 18:54:33 +0000 (11:54 -0700)
committerBranan Purvine-Riley <branan@puppetlabs.com>
Tue, 8 May 2012 18:54:33 +0000 (11:54 -0700)
.travis.yml [new file with mode: 0644]
Gemfile [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..c7970d1
--- /dev/null
@@ -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
diff --git a/Gemfile b/Gemfile
new file mode 100644 (file)
index 0000000..7ba9ef9
--- /dev/null
+++ b/Gemfile
@@ -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