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.
This commit is contained in:
Jeff McCune 2013-01-05 21:11:53 -08:00
parent 9c97ab896e
commit cf261e26d5

View file

@ -6,10 +6,16 @@ notifications:
rvm: rvm:
- 1.9.3 - 1.9.3
- 1.8.7 - 1.8.7
- ruby-head
env: env:
- PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 2.7"
- PUPPET_GEM_VERSION=">= 3.0.0" - PUPPET_GEM_VERSION="~> 3"
matrix: matrix:
allow_failures:
- rvm: ruby-head
exclude: exclude:
- rvm: 1.9.3 - 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"