forked from voxpupuli/puppet-augeasproviders_pam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (88 loc) · 2.99 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
90
91
92
language: ruby
sudo: required
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
notifications:
email:
env:
# base env
# Most tests with oldest supported ruby-augeas
- PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- PUPPET=3.0.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- PUPPET=3.2.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
# Test the latest ruby-augeas (~>)
- PUPPET=3.2.0 RUBY_AUGEAS=0.5
# Use this build to publish on the forge
- PUPPET=3.4 RUBY_AUGEAS=0.5 FORGE_PUBLISH=true
# Test other versions of Augeas
- PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=0.10.0
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=0.10.0
- PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0
- PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.2.0
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.2.0
# Issue #83: test old Augeas with new lenses
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0 LENSES=HEAD
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 LENSES=HEAD
- PUPPET=3.4 RUBY_AUGEAS=0.5 AUGEAS=1.0.0 LENSES=HEAD
- PUPPET=3.4 RUBY_AUGEAS=0.5 AUGEAS=1.1.0 LENSES=HEAD
matrix:
fast_finish: true
exclude:
# base exclude
# No support for Ruby 2.0 before Puppet 3.2.0 and ruby-augeas 0.5
- rvm: 2.0.0
env: PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- rvm: 2.0.0
env: PUPPET=3.0.0 RUBY_AUGEAS=0.3.0
- rvm: 2.0.0
env: PUPPET=3.2.0 RUBY_AUGEAS=0.3.0
- rvm: 2.0.0
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0
- rvm: 2.0.0
env: PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=0.10.0
- rvm: 2.0.0
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=0.10.0
- rvm: 2.0.0
env: PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0
- rvm: 2.0.0
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0
- rvm: 2.0.0
env: PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- rvm: 2.0.0
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- rvm: 2.0.0
env: PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.2.0
- rvm: 2.0.0
env: PUPPET=3.0.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0
- rvm: 2.0.0
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.2.0
- rvm: 2.0.0
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0 LENSES=HEAD
- rvm: 2.0.0
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 LENSES=HEAD
install:
- "travis_retry ./.travis.sh"
script:
- AUGEAS_LENS_LIB=augeas/lenses bundle exec rake
# Do not include the augeas/ directory in the deployed module
- rm -rf augeas/
deploy:
provider: puppetforge
user: herculesteam
password:
secure: "itBKtw6dffpZ5fLqxx5R8eMAUi8cb5n+wPYisTMddnxdZx9v0QjmczyN8DjkDxzJeudFOmeZbgmHLTdOhBHklBl/+C7RdEndk7y9KZFQjVArVcPqyHi3NyWjXHN0to6ROjDjyjVw9YYmSSnHEu3nrR3nW2Vs5EQrZL34E+QVYJw="
on:
tags: true
# all_branches is required to use tags
all_branches: true
# Only publish if our main Ruby target builds
rvm: 1.9.3
condition: "$FORGE_PUBLISH = true"