forked from trevor-vaughan/pupmod-compliance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
89 lines (84 loc) · 2.31 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
language: ruby
cache: bundler
bundler_args: --without development system_tests
before_install: rm Gemfile.lock || true
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.1
script:
- 'bundle exec rake validate'
- 'bundle exec rake lint'
- 'bundle exec rake spec'
- 'bundle exec rake metadata'
env:
global:
- STRICT_VARIABLES=yes
- TRUSTED_NODE_DATA=yes
matrix:
# NOTE: `:environmentpath` was not supported before Puppet 3.5
- PUPPET_VERSION="~> 3.5.0"
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_VERSION="~> 3.7.0"
- PUPPET_VERSION="~> 3.7.0" FUTURE_PARSER=yes
- PUPPET_VERSION="~> 3.8.0"
- PUPPET_VERSION="~> 3.8.0" FUTURE_PARSER=yes
- PUPPET_VERSION="~> 4.0.0"
- PUPPET_VERSION="~> 4.1.0"
- PUPPET_VERSION="~> 4.2.0"
matrix:
fast_finish: true
allow_failures:
- rvm: 1.8.7
- rvm: 2.1.0
- rvm: 2.2.1
- env: PUPPET_VERSION="~> 3.5.0"
- env: PUPPET_VERSION="~> 3.6.0"
- env: PUPPET_VERSION="~> 3.7.0" FUTURE_PARSER=yes
- env: PUPPET_VERSION="~> 3.8.0" FUTURE_PARSER=yes
- env: PUPPET_VERSION="~> 4.0.0"
- env: PUPPET_VERSION="~> 4.1.0"
- env: PUPPET_VERSION="~> 4.2.0"
exclude:
# Ruby 1.8.7
# - Ruby 1.8.7 & Puppet 4.X is impossibru
- rvm: 1.8.7
env: PUPPET_VERSION="~> 4.0.0"
- rvm: 1.8.7
env: PUPPET_VERSION="~> 4.1.0"
- rvm: 1.8.7
env: PUPPET_VERSION="~> 4.2.0"
# - simp-rake-helpers deps currently break between 1.8.7 and 3.X
# - Currently there is Gemfile logic testing for TRAVIS to avoid this.
# - For Ruby 1.8.7, testing earliest and latest 3.X is sufficient.
- rvm: 1.8.7
env: PUPPET_VERSION="~> 3.5.0"
- rvm: 1.8.7
env: PUPPET_VERSION="~> 3.6.0"
- rvm: 1.8.7
env: PUPPET_VERSION="~> 3.7.0" FUTURE_PARSER=yes
- rvm: 1.8.7
env: PUPPET_VERSION="~> 3.8.0" FUTURE_PARSER=yes
# Ruby 2.1.0
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.5.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.6.0"
- rvm: 2.1.0
env: PUPPET_VERSION="~> 3.7.0"
# Ruby 2.2.1
- rvm: 2.2.1
env: PUPPET_VERSION="~> 3.5.0"
- rvm: 2.2.1
env: PUPPET_VERSION="~> 3.6.0"
- rvm: 2.2.1
env: PUPPET_VERSION="~> 3.7.0"
- rvm: 2.2.1
env: PUPPET_VERSION="~> 3.7.0" FUTURE_PARSER=yes
- rvm: 2.2.1
env: PUPPET_VERSION="~> 3.8.0"
- rvm: 2.2.1
env: PUPPET_VERSION="~> 3.8.0" FUTURE_PARSER=yes