Merge pull request #243 from bodepd/travis

update travis file
This commit is contained in:
Dan Bode 2013-03-05 15:34:28 -08:00
commit c6aea77ecb
1 changed files with 13 additions and 5 deletions

View File

@ -1,18 +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
@ -21,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