]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
Future proof travis build matrix
authorJeff McCune <jeff@puppetlabs.com>
Sun, 6 Jan 2013 05:11:53 +0000 (21:11 -0800)
committerJeff McCune <jeff@puppetlabs.com>
Sun, 6 Jan 2013 05:25:04 +0000 (21:25 -0800)
Without this patch we're not building against ruby head.  This is a
problem because we need to know if standard lib works with the latest
version of MRI.

This patch builds against ruby head but also allows the build to pass if
there are failures with ruby-head.

.travis.yml

index b6b408a2370bba4892c7b6a31f14b125f7d2f860..638c1f828b1beb52492a273547308d2605898fa9 100644 (file)
@@ -6,10 +6,16 @@ notifications:
 rvm:
   - 1.9.3
   - 1.8.7
+  - ruby-head
 env:
-  - PUPPET_GEM_VERSION="~> 2.7.0"
-  - PUPPET_GEM_VERSION=">= 3.0.0"
+  - PUPPET_GEM_VERSION="~> 2.7"
+  - PUPPET_GEM_VERSION="~> 3"
 matrix:
+  allow_failures:
+    - rvm: ruby-head
   exclude:
     - rvm: 1.9.3
-      env: PUPPET_GEM_VERSION="~> 2.7.0"
+      env: PUPPET_GEM_VERSION="~> 2.7"
+  exclude:
+    - rvm: ruby-head
+      env: PUPPET_GEM_VERSION="~> 2.7"