]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(maint) Enable travis-ci support.
authorKen Barber <ken@bob.sh>
Mon, 28 May 2012 11:41:36 +0000 (12:41 +0100)
committerKen Barber <ken@bob.sh>
Sat, 9 Jun 2012 23:40:24 +0000 (00:40 +0100)
.travis.yml [new file with mode: 0644]
gemfiles/gemfile.ci [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..8c744b6
--- /dev/null
@@ -0,0 +1,11 @@
+---
+language: ruby
+rvm:
+  - 1.8.7
+  - 1.9.2
+  - 1.9.3
+script: rake spec
+notifications:
+  email: false
+gemfile:
+  - gemfiles/gemfile.ci
diff --git a/gemfiles/gemfile.ci b/gemfiles/gemfile.ci
new file mode 100644 (file)
index 0000000..a5f5fb2
--- /dev/null
@@ -0,0 +1,14 @@
+source 'http://rubygems.org'
+
+# These are the base gems that facter requires for CI testing. This is a
+# duplicate of what the Puppetlabs Jenkins environment was running at the
+# time this file was created.
+gem 'rspec', '2.9.0'
+gem 'rspec-core', '2.9.0'
+gem 'rspec-expectations', '2.9.0'
+gem 'rspec-mocks', '2.9.0'
+gem 'rake', '0.8.7'
+gem 'mocha', '0.10.5'
+gem 'diff-lcs', '1.1.3'
+gem 'puppet', '2.7.6'
+gem 'facter', '1.6.3'