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
70 lines (62 loc) · 1.95 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
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=upstream-repo-centos-6
- INSTANCE=upstream-repo-centos-7
- INSTANCE=upstream-repo-debian-7
# - INSTANCE=upstream-repo-debian-8 InSpec fails to recognize that the service is actually enabled
# - INSTANCE=upstream-repo-opensuse-leap # waiting on current build with working zypper_repository
- INSTANCE=upstream-repo-ubuntu-1404
- INSTANCE=upstream-repo-ubuntu-1604
- INSTANCE=epel-centos-6
- INSTANCE=epel-centos-7
- INSTANCE=distro-packages-debian-7
- INSTANCE=distro-packages-debian-8
- INSTANCE=distro-packages-fedora-latest
- INSTANCE=distro-packages-opensuse-leap
- INSTANCE=distro-packages-ubuntu-1404
- INSTANCE=distro-packages-ubuntu-1604
- INSTANCE=source-centos-6
- INSTANCE=source-centos-7
- INSTANCE=source-debian-7
- INSTANCE=source-debian-8
- INSTANCE=source-fedora-latest
- INSTANCE=source-opensuse-leap
- INSTANCE=source-ubuntu-1404
- INSTANCE=source-ubuntu-1604
- INSTANCE=modules-centos-7
- INSTANCE=modules-debian-7
- INSTANCE=modules-debian-8
- INSTANCE=modules-fedora-latest
- INSTANCE=modules-opensuse-leap
- INSTANCE=modules-ubuntu-1404
- INSTANCE=modules-ubuntu-1604
# - INSTANCE=passenger-debian-7 # TODO: does not work on this system
- INSTANCE=passenger-debian-8
- INSTANCE=passenger-ubuntu-1404
- INSTANCE=passenger-ubuntu-1604
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