forked from rodjek/rspec-puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (53 loc) · 1.65 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: ruby
cache: bundler
bundler_args: --without development
rvm:
- 2.1
- 1.9.3
- 2.0.0
sudo: false
env:
- PUPPET_GEM_VERSION='~> 4.7.0' COVERAGE=yes
- PUPPET_GEM_VERSION='~> 2.7.0'
- PUPPET_GEM_VERSION='~> 3.7.0'
- PUPPET_GEM_VERSION='~> 3.8.0'
- PUPPET_GEM_VERSION='~> 4.0.0'
- PUPPET_GEM_VERSION='~> 4.1.0'
- PUPPET_GEM_VERSION='~> 4.2.0'
- PUPPET_GEM_VERSION='~> 4.3.0'
- PUPPET_GEM_VERSION='~> 4.7.0'
- PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#master'
- PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#stable'
- PUPPET_GEM_VERSION='https://github.com/puppetlabs/puppet.git#3.x'
matrix:
include:
# these versions are explicitly needed for ruby 1.8.7 support
- rvm: 1.8.7
env: PUPPET_GEM_VERSION='~> 3.8.0' RSPEC_GEM_VERSION='= 3.1.0'
- rvm: 1.8.7
env: PUPPET_GEM_VERSION='~> 2.7.0' RSPEC_GEM_VERSION='~> 2.14.0'
exclude:
# newer puppet versions don't run on 1.8.7
- rvm: 1.8.7
env: PUPPET_GEM_VERSION='~> 4.0.0'
- rvm: 1.8.7
env: PUPPET_GEM_VERSION='~> 4.1.0'
- rvm: 2.1
env: PUPPET_GEM_VERSION='~> 4.1.0'
# puppet 2.7 doesn't run on newer rubies
- rvm: 1.9.3
env: PUPPET_GEM_VERSION='~> 2.7.0'
- rvm: 2.0.0
env: PUPPET_GEM_VERSION='~> 2.7.0'
- rvm: 2.1
env: PUPPET_GEM_VERSION='~> 2.7.0'
# run Coveralls exactly once
- rvm: 1.9.3
env: PUPPET_GEM_VERSION='~> 4.7.0' COVERAGE=yes
- rvm: 2.0.0
env: PUPPET_GEM_VERSION='~> 4.7.0' COVERAGE=yes
allowed_failures:
- env: PUPPET_GEM_VERSION='git:https://github.com/puppetlabs/puppet.git#master'
notifications:
email:
- tim@github.com