summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2013-02-25 14:00:20 -0800
committerJeff McCune <jeff@puppetlabs.com>2013-02-25 14:11:03 -0800
commit03c5c4a434c2290c021034dbfed82cb0f97e0e87 (patch)
treeb7c7efda1bd54d5a27fb6633332a44934183d074 /.travis.yml
parentd2e0c53243060a158e2fde18d8b05718397e0ded (diff)
(maint) Add Ruby 2.0.0 to Travis build matrix
Without this patch we're not testing against Ruby 2.0.0 which has recently been released. This is a problem because we'd like a way to be notified if a change set breaks compatibility with future supported versions of Ruby. This patch should not be taken as an indication that we fully support Ruby 2.0, just as an indication that we plan to in the future. This patch also tightens up the specifications of the build matrix. In addition to testing against the specific Puppet dependency versions, we're also testing against the latest 2.7.x release and the latest release.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 18 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 0ec5a08..7e40b3f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,27 @@
language: ruby
+bundler_args: --without development
+script: "bundle exec rake spec SPEC_OPTS='--color --format documentation'"
rvm:
- 1.8.7
-before_script:
-after_script:
-script: "rake spec_full"
-branches:
- only:
- - master
env:
+ - PUPPET_VERSION=">= 3.0.0"
+ - PUPPET_VERSION="~> 2.7.0"
- PUPPET_VERSION=2.7.13
- PUPPET_VERSION=2.7.6
- PUPPET_VERSION=2.6.9
+matrix:
+ allow_failures:
+ - rvm: 2.0.0
+ include:
+ - rvm: 2.0.0
+ env: PUPPET_VERSION=">= 3.0.0"
+ - rvm: 1.9.3
+ env: PUPPET_VERSION=">= 3.0.0"
notifications:
email: false
-gemfile: .gemfile
+ webhooks:
+ urls:
+ - https://puppet-dev-community.herokuapp.com/event/travis-ci/
+ on_success: always
+ on_failure: always
+ on_start: yes