summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <paul.belanger@polybeacon.com>2012-06-23 17:15:47 -0400
committerPaul Belanger <paul.belanger@polybeacon.com>2012-06-23 17:15:47 -0400
commitec1a465e5036f3690dd9adee6d0cbfcd2dcc9307 (patch)
treee74f6f67cbc9be05772448f061d4147b0fd244b1
parent7d0b5709c9bd3c5dfce30abf58e5637258ac54c4 (diff)
downloadpuppet-concat-ec1a465e5036f3690dd9adee6d0cbfcd2dcc9307.tar.gz
puppet-concat-ec1a465e5036f3690dd9adee6d0cbfcd2dcc9307.tar.bz2
Add Travis CI support
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
-rw-r--r--.gemfile5
-rw-r--r--.gitignore1
-rw-r--r--.travis.yml12
3 files changed, 18 insertions, 0 deletions
diff --git a/.gemfile b/.gemfile
new file mode 100644
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
index 0000000..5fff1d9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+pkg
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9d1c0cc
--- /dev/null
+++ b/.travis.yml
@@ -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