-
Notifications
You must be signed in to change notification settings - Fork 37
/
.travis.yml
113 lines (113 loc) · 3.2 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
language: ruby
sudo: false
addons:
apt:
packages:
- libaugeas-dev
sources:
- augeas
cache: bundler
bundler_args: --without system_tests
script: ["bundle exec rake validate", "bundle exec rake lint", "bundle exec rake spec SPEC_OPTS='--format documentation'"]
matrix:
fast_finish: true
include:
- rvm: 2.1
env: PUPPET_GEM_VERSION="~> 4.0"
- rvm: 2.4
env: PUPPET_GEM_VERSION="~> 5.0"
- rvm: 2.5
env: PUPPET_GEM_VERSION="~> 6.0"
- rvm: default
sudo: required
services: docker
env:
- PUPPET_INSTALL_TYPE=agent
- BEAKER_IS_PE=no
- BEAKER_PUPPET_COLLECTION=puppet5
- BEAKER_debug=true
- BEAKER_setfile=debian7-64{hypervisor=docker}
bundler_args:
script: bundle exec rspec spec/acceptance/*_spec.rb
- rvm: default
sudo: required
services: docker
env:
- PUPPET_INSTALL_TYPE=agent
- BEAKER_IS_PE=no
- BEAKER_PUPPET_COLLECTION=puppet5
- BEAKER_debug=true
- BEAKER_setfile=debian8-64{hypervisor=docker}
bundler_args:
script: bundle exec rspec spec/acceptance/*_spec.rb
- rvm: default
sudo: required
services: docker
env:
- PUPPET_INSTALL_TYPE=agent
- BEAKER_IS_PE=no
- BEAKER_PUPPET_COLLECTION=puppet5
- BEAKER_debug=true
- BEAKER_setfile=ubuntu1404-64{hypervisor=docker}
bundler_args:
script: bundle exec rspec spec/acceptance/*_spec.rb
- rvm: default
sudo: required
services: docker
env:
- PUPPET_INSTALL_TYPE=agent
- BEAKER_IS_PE=no
- BEAKER_PUPPET_COLLECTION=puppet5
- BEAKER_debug=true
- BEAKER_setfile=ubuntu1604-64{hypervisor=docker}
bundler_args:
script: bundle exec rspec spec/acceptance/*_spec.rb
- rvm: default
sudo: required
services: docker
env:
- PUPPET_INSTALL_TYPE=agent
- BEAKER_IS_PE=no
- BEAKER_PUPPET_COLLECTION=puppet5
- BEAKER_debug=true
- BEAKER_setfile=centos6-64{hypervisor=docker}
bundler_args:
script: bundle exec rspec spec/acceptance/*_spec.rb
- rvm: default
sudo: required
services: docker
env:
- PUPPET_INSTALL_TYPE=agent
- BEAKER_IS_PE=no
- BEAKER_PUPPET_COLLECTION=puppet5
- BEAKER_debug=true
- BEAKER_setfile=centos7-64{hypervisor=docker}
bundler_args:
script: bundle exec rspec spec/acceptance/*_spec.rb
allow_failures:
- rvm: default
sudo: required
services: docker
env: BEAKER_set="debian-7"
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb
- rvm: default
sudo: required
services: docker
env: BEAKER_set="ubuntu-16.04"
bundler_args:
script: sudo service docker restart ; sleep 10 && bundle exec rspec spec/acceptance/*_spec.rb
notifications:
email: false
deploy:
provider: puppetforge
user: camptocamp
password:
secure: "QlLAT3W2KlpYldcAiGHW/1ABoqimNtSP01ELj8jRMY9tKde9eDyUXUkEmCsjC2FPSP8amV04tIbInpMrzHhsqXl76hK5n0RWVgV93tbbxltKvmWdzfM18UeJxOO6psUfkLgydYDtgbo12IXQbtnm5gNXiYGPnKghwOwfv+XaW98="
on:
tags: true
# all_branches is required to use tags
all_branches: true
# Only publish if our main Ruby target builds
rvm: 2.4