forked from voxpupuli/puppet-logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (77 loc) · 3.18 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
93
94
sudo: required
# Use Travis' Ubuntu Trusty machines. They have more RAM.
# It does not affect which OSs we are testing, since they all provided
# by Docker containers. This simply defines which OS Docker itself will
# be running on.
dist: trusty
services:
- docker
language: ruby
rvm:
- 2.3.4
script:
- docker run --privileged -d polarbearlabs/haveged:1.9.1 # https://github.com/elastic/logstash/issues/5507
- |
(
if [[ -n $TRAVIS_LINT ]]; then
make lint
elif [[ -n $TRAVIS_UNIT ]]; then
bundle exec rake spec
else
bundle exec rake beaker
fi
)
env:
global:
- LOGSTASH_VERSION=6.1.3
- BEAKER_PE_DIR=spec/fixtures/artifacts
- CI_SPEC_OPTIONS='--format documentation'
matrix:
# Do linting once.
- TRAVIS_LINT=true
# Run the puppet-rspec synthetic/unit tests.
- PUPPET_VERSION=4.6.2 TRAVIS_UNIT=true
- PUPPET_VERSION=4.8.2 TRAVIS_UNIT=true
- PUPPET_VERSION=4.9.4 TRAVIS_UNIT=true
- PUPPET_VERSION=4.10.8 TRAVIS_UNIT=true
- PUPPET_VERSION=5.0.1 TRAVIS_UNIT=true
- PUPPET_VERSION=5.1.0 TRAVIS_UNIT=true
- PUPPET_VERSION=5.2.0 TRAVIS_UNIT=true
- PUPPET_VERSION=5.3.3 TRAVIS_UNIT=true
# Then run the acceptance tests across the matrix.
- PUPPET_VERSION=4.6.2 BEAKER_set=centos-6
- PUPPET_VERSION=4.8.2 BEAKER_set=centos-6
- PUPPET_VERSION=4.8.2 BEAKER_set=centos-6 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=4.6.2 BEAKER_set=centos-7
- PUPPET_VERSION=4.7.0 BEAKER_set=centos-7
- PUPPET_VERSION=4.8.2 BEAKER_set=centos-7
- PUPPET_VERSION=4.9.4 BEAKER_set=centos-7
- PUPPET_VERSION=4.10.8 BEAKER_set=centos-7
- PUPPET_VERSION=4.10.8 BEAKER_set=centos-7 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=5.3.3 BEAKER_set=centos-7
- PUPPET_VERSION=5.3.3 BEAKER_set=centos-7 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=4.8.2 BEAKER_set=debian-7 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=4.6.2 BEAKER_set=debian-8
- PUPPET_VERSION=4.8.2 BEAKER_set=debian-8
- PUPPET_VERSION=4.9.4 BEAKER_set=debian-8
- PUPPET_VERSION=4.10.8 BEAKER_set=debian-8
- PUPPET_VERSION=4.10.8 BEAKER_set=debian-8 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=5.3.3 BEAKER_set=debian-8
- PUPPET_VERSION=5.3.3 BEAKER_set=debian-8 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=4.6.2 BEAKER_set=ubuntu-1404
- PUPPET_VERSION=4.8.2 BEAKER_set=ubuntu-1404
- PUPPET_VERSION=4.9.4 BEAKER_set=ubuntu-1404
- PUPPET_VERSION=4.10.8 BEAKER_set=ubuntu-1404
- PUPPET_VERSION=4.10.8 BEAKER_set=ubuntu-1404 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=5.3.3 BEAKER_set=ubuntu-1404
- PUPPET_VERSION=5.3.3 BEAKER_set=ubuntu-1404 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=4.6.2 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=4.8.2 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=4.9.4 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=4.10.8 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=4.10.8 BEAKER_set=ubuntu-1604 LOGSTASH_VERSION=5.6.4
- PUPPET_VERSION=5.0.1 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=5.1.0 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=5.2.0 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=5.3.3 BEAKER_set=ubuntu-1604
- PUPPET_VERSION=5.3.3 BEAKER_set=ubuntu-1604 LOGSTASH_VERSION=5.6.4