From d7d63a847ab899bccf9927b857350562f914812a Mon Sep 17 00:00:00 2001 From: Matthew Haughton Date: Wed, 16 Jul 2014 23:07:23 -0400 Subject: [PATCH] Extend Travis test matrix * Add ruby 2.1.0 * Add back ruby 1.8.7 as allowed failure - shows test results but won't mark build as failed * Enable fast finish - quick feedback on failed builds * Make test matrix explicit so it's easier to tell what's included in the matrix, instead of excluding certain combinations --- .travis.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef47cd7..1801573 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,18 +6,23 @@ branches: language: ruby script: "bundle exec rake spec SPEC_OPTS='--format documentation'" bundler_args: --without rake -rvm: - - 1.9.3 - - 2.0.0 -env: - matrix: - - PUPPET_GEM_VERSION="~> 2.7.0" - - PUPPET_GEM_VERSION="~> 3.0" matrix: - exclude: + fast_finish: true + include: + - rvm: 1.8.7 + env: PUPPET_GEM_VERSION="~> 2.7.0" + - rvm: 1.8.7 + env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 - env: PUPPET_GEM_VERSION="~> 2.7.0" + env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 + env: PUPPET_GEM_VERSION="~> 3.0" + - rvm: 2.1.0 + env: PUPPET_GEM_VERSION="~> 3.0" + allow_failures: + - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 2.7.0" + - rvm: 1.8.7 + env: PUPPET_GEM_VERSION="~> 3.0" notifications: email: false