aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..625faa3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,42 @@
+---
+language: ruby
+bundler_args: --without development --jobs=3 --retry=3
+
+sudo: false
+
+rvm:
+ - 1.8.7
+ - 1.9.3
+ - 2.0.0
+ - 2.1
+
+env:
+ - PUPPET_VERSION="~> 2.7.0"
+ - PUPPET_VERSION="~> 3.1.0"
+ - PUPPET_VERSION="~> 3.2.0"
+ - PUPPET_VERSION="~> 3.3.0"
+ - PUPPET_VERSION="~> 3.4.0"
+ - PUPPET_VERSION="~> 3.5.0"
+
+before_install: rm Gemfile.lock || true
+
+script: bundle exec rake test
+
+matrix:
+ exclude:
+ - rvm: 1.9.3
+ env: PUPPET_VERSION="~> 2.7.0"
+ - rvm: 2.0.0
+ env: PUPPET_VERSION="~> 2.7.0"
+ - rvm: 2.0.0
+ env: PUPPET_VERSION="~> 3.1.0"
+ - rvm: 2.1
+ env: PUPPET_VERSION="~> 2.7.0"
+ - rvm: 2.1
+ env: PUPPET_VERSION="~> 3.1.0"
+ - rvm: 2.1
+ env: PUPPET_VERSION="~> 3.2.0"
+ - rvm: 2.1
+ env: PUPPET_VERSION="~> 3.3.0"
+ - rvm: 2.1
+ env: PUPPET_VERSION="~> 3.4.0"