This repository has been archived by the owner on Jul 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
.travis.yml
74 lines (66 loc) · 2.04 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
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=config-centos-6
- INSTANCE=config-centos-7
- INSTANCE=config-fedora-latest
- INSTANCE=config-debian-8
- INSTANCE=config-debian-9
- INSTANCE=config-ubuntu-1404
- INSTANCE=config-ubuntu-1604
- INSTANCE=module22-centos-6
- INSTANCE=module24-centos-7
- INSTANCE=module24-fedora-latest
- INSTANCE=module24-debian-8
- INSTANCE=module24-debian-9
- INSTANCE=module24-ubuntu-1404
- INSTANCE=module24-ubuntu-1604
#- INSTANCE=module24-opensuse-leap
- INSTANCE=service22-single-centos-6
- INSTANCE=service22-multi-centos-6
- INSTANCE=service22-actions-centos-6
- INSTANCE=service24-single-centos-7
- INSTANCE=service24-single-fedora-latest
- INSTANCE=service24-single-ubuntu-1404
- INSTANCE=service24-single-ubuntu-1604
- INSTANCE=service24-single-debian-8
- INSTANCE=service24-single-debian-9
#- INSTANCE=service24-single-opensuse-leap
- INSTANCE=service24-multi-centos-7
- INSTANCE=service24-multi-fedora-latest
- INSTANCE=service24-multi-debian-8
- INSTANCE=service24-multi-ubuntu-1404
- INSTANCE=service24-multi-ubuntu-1604
#- INSTANCE=service24-multi-opensuse-leap
- INSTANCE=service24-actions-centos-7
- INSTANCE=service24-actions-fedora-latest
- INSTANCE=service24-actions-ubuntu-1404
- INSTANCE=service24-actions-ubuntu-1604
- INSTANCE=service24-actions-debian-8
- INSTANCE=service24-actions-debian-9
#- INSTANCE=service24-actions-opensuse-leap
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
env: UNIT_AND_LINT=1