]> gitweb.fluxo.info Git - puppet-concat.git/commitdiff
Add Travis CI support
authorPaul Belanger <paul.belanger@polybeacon.com>
Sat, 23 Jun 2012 21:15:47 +0000 (17:15 -0400)
committerPaul Belanger <paul.belanger@polybeacon.com>
Sat, 23 Jun 2012 21:15:47 +0000 (17:15 -0400)
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
.gemfile [new file with mode: 0644]
.gitignore [new file with mode: 0644]
.travis.yml [new file with mode: 0644]

diff --git a/.gemfile b/.gemfile
new file mode 100644 (file)
index 0000000..9aad840
--- /dev/null
+++ b/.gemfile
@@ -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'
diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..5fff1d9
--- /dev/null
@@ -0,0 +1 @@
+pkg
diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..9d1c0cc
--- /dev/null
@@ -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