summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Price <chris@puppetlabs.com>2013-04-03 15:05:53 -0700
committerChris Price <chris@puppetlabs.com>2013-04-03 15:05:53 -0700
commitfa74951ffed0d5c9ca3e61d7125b90e23b24d12c (patch)
tree3f0683b943cf76431aa2ddddfa7920dc5f9096e9
parentad38a08dc7d5316bd2c6ecd7b253f76fb21068f8 (diff)
parentc2052b3cbd6f829fd0b97eb09a7fe26be2fd199d (diff)
downloadpuppet-inifile-fa74951ffed0d5c9ca3e61d7125b90e23b24d12c.tar.gz
puppet-inifile-fa74951ffed0d5c9ca3e61d7125b90e23b24d12c.tar.bz2
Merge pull request #36 from bodepd/travis_part_threeHEADmaster
Add travisfile and Gemfile
-rw-r--r--.travis.yml25
-rw-r--r--Gemfile11
2 files changed, 36 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e29dc7e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+language: ruby
+script: "bundle exec rspec spec"
+rvm:
+ - 1.8.7
+ - 1.9.3
+ - ruby-head
+env:
+ - PUPPET_GEM_VERSION="~> 2.6"
+ - PUPPET_GEM_VERSION="~> 2.7"
+ - PUPPET_GEM_VERSION="~> 3.0"
+ - PUPPET_GEM_VERSION="~> 3.1"
+matrix:
+ allow_failures:
+ - rvm: ruby-head
+ exclude:
+ - rvm: 1.9.3
+ env: PUPPET_GEM_VERSION="~> 2.7"
+ - rvm: ruby-head
+ env: PUPPET_GEM_VERSION="~> 2.7"
+ - rvm: 1.9.3
+ env: PUPPET_GEM_VERSION="~> 2.6"
+ - rvm: ruby-head
+ env: PUPPET_GEM_VERSION="~> 2.6"
+notifications:
+ email: false
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..292fbb9
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,11 @@
+source :rubygems
+
+gem 'puppetlabs_spec_helper'
+gem 'rspec-expectations', "2.11.3"
+gem 'mocha', "0.10.5"
+
+if puppetversion = ENV['PUPPET_GEM_VERSION']
+ gem 'puppet', puppetversion, :require => false
+end
+
+# vim:ft=ruby