Skip to content

Commit e0a2dc5

Browse files
author
Jeff McCune
committed
Merge branch '3.x' into 4.x
* 3.x: (maint) Add Ruby 2.0.0 to Travis build matrix
2 parents 1c33e9c + 4fdefd0 commit e0a2dc5

File tree

4 files changed

+29
-12
lines changed

4 files changed

+29
-12
lines changed

.gemfile

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ pkg/
22
.DS_Store
33
metadata.json
44
coverage/
5+
Gemfile.lock
6+
.bundle/
7+
vendor/bundle/

.travis.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
11
language: ruby
2+
bundler_args: --without development
3+
script: "bundle exec rake spec SPEC_OPTS='--color --format documentation'"
24
rvm:
35
- 1.8.7
4-
before_script:
5-
after_script:
6-
script: "rake spec_full"
7-
branches:
8-
only:
9-
- master
106
env:
7+
- PUPPET_VERSION=">= 3.0.0"
8+
- PUPPET_VERSION="~> 2.7.0"
119
- PUPPET_VERSION=2.7.13
1210
- PUPPET_VERSION=2.7.6
1311
- PUPPET_VERSION=2.6.9
12+
matrix:
13+
allow_failures:
14+
- rvm: 2.0.0
15+
include:
16+
- rvm: 2.0.0
17+
env: PUPPET_VERSION=">= 3.0.0"
18+
- rvm: 1.9.3
19+
env: PUPPET_VERSION=">= 3.0.0"
1420
notifications:
1521
email: false
16-
gemfile: .gemfile
22+
webhooks:
23+
urls:
24+
- https://puppet-dev-community.herokuapp.com/event/travis-ci/
25+
on_success: always
26+
on_failure: always
27+
on_start: yes

Gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
if puppetversion = ENV['PUPPET_VERSION']
4+
gem 'puppet', puppetversion
5+
else
6+
gem 'puppet'
7+
end
8+
gem 'puppetlabs_spec_helper', '>= 0.1.0'

0 commit comments

Comments
 (0)