-
Notifications
You must be signed in to change notification settings - Fork 30
/
.travis.yml
49 lines (41 loc) · 1.07 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
addons:
apt:
sources:
- chef-current-xenial
packages:
- chef-workstation
install: echo "skip bundle install"
env:
- CHEF_LICENSE=accept
branches:
only:
- master
services: docker
env:
matrix:
# - INSTANCE=client-amazonlinux
- INSTANCE=client-centos-6
- INSTANCE=client-centos-7
- INSTANCE=client-debian-8
- INSTANCE=client-debian-9
- INSTANCE=client-fedora-latest
- INSTANCE=client-ubuntu-1604
#- INSTANCE=server-amazonlinux
- INSTANCE=server-centos-6
- INSTANCE=server-centos-7
- INSTANCE=server-debian-8
- INSTANCE=server-debian-9
#- INSTANCE=server-fedora-latest # Disabled due to apache2 cookbook being broken on fedora
- INSTANCE=server-ubuntu-1604
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- delivery local all
env:
- UNIT_AND_LINT=1
- CHEF_LICENSE=accept