From ec4cb37914fc6eb260478baefda95f9548dae657 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Tue, 5 Mar 2013 15:49:00 -0800 Subject: [PATCH] update travis to use the standard one update travis ensures it tests 2.6,2.7,3.0,3.1 with ruby 1.8.7 and 1.9.3 --- .travis.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 337b1ff..1448617 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,22 @@ +language: ruby +bundler_args: --without development +before_script: + - echo $PUPPET_GEM_VERSION | grep '2.6' && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true script: "bundle exec rake spec SPEC_OPTS='--format documentation'" -branches: - only: - - master - - folsom - - essex rvm: - 1.8.7 - 1.9.3 - ruby-head +branches: + only: + - master + - folsom + - essex env: + - PUPPET_GEM_VERSION="~> 2.6" - PUPPET_GEM_VERSION="~> 2.7" - PUPPET_GEM_VERSION="~> 3.0" + - PUPPET_GEM_VERSION="~> 3.1" matrix: allow_failures: - rvm: ruby-head @@ -19,5 +25,9 @@ matrix: env: PUPPET_GEM_VERSION="~> 2.7" - rvm: ruby-head env: PUPPET_GEM_VERSION="~> 2.7" + - rvm: 1.9.3 + env: PUPPET_GEM_VERSION="~> 2.6" + - rvm: ruby-head + env: PUPPET_GEM_VERSION="~> 2.6" notifications: email: false