From ea765778876bbfd4eb14b148565058e24516e9dc Mon Sep 17 00:00:00 2001 From: Ryan Coleman Date: Thu, 4 Apr 2013 10:53:43 -0700 Subject: Update Travis.YML This commit updates to a more modern test matrix and adds the configuration necessary to publish in an automated fashion. --- .travis.yml | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 8f713e0..c8d205f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,26 +1,25 @@ +--- +branches: + only: + - master +notifications: + email: false language: ruby -bundler_args: --without development -script: "bundle exec rake spec SPEC_OPTS='--format documentation'" +script: 'rake spec' +after_success: +- git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng +- .forge-releng/publish rvm: - - 1.8.7 - - 1.9.3 - - ruby-head +- 1.8.7 +- 1.9.3 env: - - PUPPET_GEM_VERSION="~> 2.6.0" - - PUPPET_GEM_VERSION="~> 2.7.0" - - PUPPET_GEM_VERSION="~> 3.0.0" - - PUPPET_GEM_VERSION="~> 3.1.0" -matrix: - allow_failures: - - rvm: ruby-head - exclude: - - rvm: 1.9.3 - env: PUPPET_GEM_VERSION="~> 2.7.0" - - rvm: ruby-head - env: PUPPET_GEM_VERSION="~> 2.7.0" - - rvm: 1.9.3 - env: PUPPET_GEM_VERSION="~> 2.6.0" - - rvm: ruby-head - env: PUPPET_GEM_VERSION="~> 2.6.0" -notifications: - email: false + matrix: + - PUPPET_VERSION=2.6.18 + - PUPPET_VERSION=2.7.21 + - PUPPET_VERSION=3.1.1 + global: + - PUBLISHER_LOGIN=puppetlabs + - secure: |- + ZiIkYd9+CdPzpwSjFPnVkCx1FIlipxpbdyD33q94h2Tj5zXjNb1GXizVy0NR + kVxGhU5Ld8y9z8DTqKRgCI1Yymg3H//OU++PKLOQj/X5juWVR4URBNPeBOzu + IJBDl1MADKA4i1+jAZPpz4mTvTtKS4pWKErgCSmhSfsY1hs7n6c= -- cgit v1.2.3