From bf2b7511c7187580b5ed7bb560ecab14b9e080d8 Mon Sep 17 00:00:00 2001 From: Steffen Zieger Date: Sun, 6 Oct 2013 15:48:36 +0200 Subject: [PATCH] add multiple rvm versions --- .travis.yml | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6760e9e14..e54f55bc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,31 +1,36 @@ +--- +branches: + only: + - master language: ruby -rvm: - - 1.8.7 - - 1.9.3 - - 2.0.0 -before_script: -after_script: -script: rake spec SPEC_OPTS='--format documentation' +bundler_args: --without development +script: bundle exec rake spec SPEC_OPTS='--format documentation' after_success: - git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng - .forge-releng/publish -branches: - only: - - master +rvm: + - 1.8.7 + - 1.9.3 env: matrix: - - PUPPET_VERSION=2.6.9 - - PUPPET_VERSION=2.7.6 - - PUPPET_VERSION=2.7.13 - - PUPPET_VERSION=3.0.0 - - PUPPET_VERSION=3.1.0 - - PUPPET_VERSION=3.3.0 + - PUPPET_GEM_VERSION="~> 2.6.0" + - PUPPET_GEM_VERSION="~> 2.7.0" + - PUPPET_GEM_VERSION="~> 3.0.0" + - PUPPET_GEM_VERSION="~> 3.1.0" + - PUPPET_GEM_VERSION="~> 3.2.0" + - PUPPET_GEM_VERSION="~> 3.3.0" global: - - PUBLISHER_LOGIN=saz - - secure: |- - KHycFEf0ALVjITczYG0pcfk912muQkbJiGzKa5yyC8C9ppDW+dTYgDQu8AO1KXFHzds - NUASY2XNjrJNv27w7A2eMp88qU1ID1s8CWALph4fuxGcM/HoPw9q8sldJ9/sHGlY9Ye - DEeIvgt9qkwKtG/kb7dN7la42nv5fffWE95OU= + - PUBLISHER_LOGIN=saz + - secure: |- + KHycFEf0ALVjITczYG0pcfk912muQkbJiGzKa5yyC8C9ppDW+dTYgDQu8AO1KXFHzds + NUASY2XNjrJNv27w7A2eMp88qU1ID1s8CWALph4fuxGcM/HoPw9q8sldJ9/sHGlY9Ye + DEeIvgt9qkwKtG/kb7dN7la42nv5fffWE95OU= +matrix: + include: + - rvm: 2.0.0 + env: PUPPET_GEM_VERSION="~> 3.2.0" + - rvm: 2.0.0 + env: PUPPET_GEM_VERSION="~> 3.3.0" notifications: email: false gemfile: .gemfile