Merge branch '3.x' into 4.x
* 3.x: (maint) Add Ruby 2.0.0 to Travis build matrix
This commit is contained in:
commit
e0a2dc5b91
4 changed files with 29 additions and 12 deletions
5
.gemfile
5
.gemfile
|
@ -1,5 +0,0 @@
|
||||||
source :rubygems
|
|
||||||
|
|
||||||
puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
|
|
||||||
gem 'puppet', puppetversion
|
|
||||||
gem 'puppetlabs_spec_helper', '>= 0.1.0'
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -2,3 +2,6 @@ pkg/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
metadata.json
|
metadata.json
|
||||||
coverage/
|
coverage/
|
||||||
|
Gemfile.lock
|
||||||
|
.bundle/
|
||||||
|
vendor/bundle/
|
||||||
|
|
25
.travis.yml
25
.travis.yml
|
@ -1,16 +1,27 @@
|
||||||
language: ruby
|
language: ruby
|
||||||
|
bundler_args: --without development
|
||||||
|
script: "bundle exec rake spec SPEC_OPTS='--color --format documentation'"
|
||||||
rvm:
|
rvm:
|
||||||
- 1.8.7
|
- 1.8.7
|
||||||
before_script:
|
|
||||||
after_script:
|
|
||||||
script: "rake spec_full"
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
env:
|
env:
|
||||||
|
- PUPPET_VERSION=">= 3.0.0"
|
||||||
|
- PUPPET_VERSION="~> 2.7.0"
|
||||||
- PUPPET_VERSION=2.7.13
|
- PUPPET_VERSION=2.7.13
|
||||||
- PUPPET_VERSION=2.7.6
|
- PUPPET_VERSION=2.7.6
|
||||||
- PUPPET_VERSION=2.6.9
|
- PUPPET_VERSION=2.6.9
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- rvm: 2.0.0
|
||||||
|
include:
|
||||||
|
- rvm: 2.0.0
|
||||||
|
env: PUPPET_VERSION=">= 3.0.0"
|
||||||
|
- rvm: 1.9.3
|
||||||
|
env: PUPPET_VERSION=">= 3.0.0"
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
gemfile: .gemfile
|
webhooks:
|
||||||
|
urls:
|
||||||
|
- https://puppet-dev-community.herokuapp.com/event/travis-ci/
|
||||||
|
on_success: always
|
||||||
|
on_failure: always
|
||||||
|
on_start: yes
|
||||||
|
|
8
Gemfile
Normal file
8
Gemfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
if puppetversion = ENV['PUPPET_VERSION']
|
||||||
|
gem 'puppet', puppetversion
|
||||||
|
else
|
||||||
|
gem 'puppet'
|
||||||
|
end
|
||||||
|
gem 'puppetlabs_spec_helper', '>= 0.1.0'
|
Loading…
Reference in a new issue