summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2013-01-05 21:11:53 -0800
committerJeff McCune <jeff@puppetlabs.com>2013-01-05 21:25:04 -0800
commitcf261e26d5538113feed0a714661a17edd07edec (patch)
tree5d19f2219f09d427710721bcd5f3eda2b1a51aa3 /.travis.yml
parent9c97ab896e4dff9725011a5e2787c1ab34ae1685 (diff)
Future proof travis build matrix
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index b6b408a..638c1f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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"