]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
(maint) Update puppet version in Travis configuration
authorJeff McCune <jeff@puppetlabs.com>
Mon, 7 Jan 2013 22:48:30 +0000 (14:48 -0800)
committerJeff McCune <jeff@puppetlabs.com>
Mon, 7 Jan 2013 23:16:20 +0000 (15:16 -0800)
Without this patch we'll test against all Puppet 3.0 versions, but not
4.  This is a problem because the travis configuration should be
relatively future proof to minimize surprises.

This patch addresses the problem by using >= instead of ~> in the
dependency specification.  The patch also combines two different
notification sections into a single entry.

.travis.yml

index 2a9df630fbc9ef5c5585a5abb9a9e296f9f8f38f..df58d5aa4e9ffb1ea51288a615a30ebae087ae6a 100644 (file)
@@ -1,15 +1,13 @@
 language: ruby
 bundler_args: --without development
 script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
-notifications:
-  email: false
 rvm:
   - 1.9.3
   - 1.8.7
   - ruby-head
 env:
   - PUPPET_GEM_VERSION="~> 2.7"
-  - PUPPET_GEM_VERSION="~> 3"
+  - PUPPET_GEM_VERSION=">= 3.0.0"
 matrix:
   allow_failures:
     - rvm: ruby-head
@@ -19,6 +17,7 @@ matrix:
     - rvm: ruby-head
       env: PUPPET_GEM_VERSION="~> 2.7"
 notifications:
+  email: false
   webhooks:
     urls:
       - https://puppet-dev-community.herokuapp.com/event/travis-ci/