forked from Icinga/puppet-icinga2-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (48 loc) · 1.13 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
---
language: ruby
sudo: false
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.5
# don't load beaker stuff - this does not work with Ruby 1.8
# and we don't use it on Travis either way
bundler_args: --without system_tests
matrix:
allow_failures:
- rvm: 1.8.7
exclude:
# No support for Ruby 2.1 before Puppet 3.5
- rvm: 2.1.5
env: PUPPET_VERSION="2.7"
# No real support for Ruby 1.9.3 on Puppet 2.x
- rvm: 1.9.3
env: PUPPET_VERSION="2.7"
# No support for Ruby 2.0 before Puppet 3.2
- rvm: 2.0.0
env: PUPPET_VERSION="2.7"
# No Puppet 4 on Ruby 1.8
- rvm: 1.8.7
env: PUPPET_VERSION="4.0"
- rvm: 1.8.7
env: PUPPET_VERSION="4.1"
- rvm: 1.8.7
env: PUPPET_VERSION="4.2"
before_install:
- 'gem install bundler'
script:
- bundle install
- bundle update
- bundle exec rake all
env:
- PUPPET_VERSION="2.7"
- PUPPET_VERSION="3.5"
- PUPPET_VERSION="3.6"
- PUPPET_VERSION="3.7"
- PUPPET_VERSION="3.7" FUTURE_PARSER="yes"
- PUPPET_VERSION="3.8"
- PUPPET_VERSION="3.8" FUTURE_PARSER="yes"
- PUPPET_VERSION="4.0"
- PUPPET_VERSION="4.1"
- PUPPET_VERSION="4.2"