forked from sous-chefs/ruby_rbenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (55 loc) · 1.63 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
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=gem-centos-7
- INSTANCE=global-debian-8
- INSTANCE=global-debian-9
# - INSTANCE=global-centos-6
- INSTANCE=global-centos-7
- INSTANCE=global-centos-7 CHEF_VERSION=12.9.41
- INSTANCE=global-fedora-latest
- INSTANCE=global-ubuntu-1404
- INSTANCE=global-ubuntu-1604
- INSTANCE=global-opensuse-leap
- INSTANCE=system-install-debian-8
- INSTANCE=system-install-debian-9
- INSTANCE=system-install-centos-6
- INSTANCE=system-install-centos-7
- INSTANCE=system-install-fedora-latest
- INSTANCE=system-install-ubuntu-1404
- INSTANCE=system-install-ubuntu-1604
- INSTANCE=system-install-opensuse-leap
- INSTANCE=user-install-debian-8
- INSTANCE=user-install-debian-9
# - INSTANCE=user-install-centos-6
- INSTANCE=user-install-centos-7
- INSTANCE=user-install-fedora-latest
- INSTANCE=user-install-ubuntu-1404
- INSTANCE=user-install-ubuntu-1604
- INSTANCE=user-install-opensuse-leap
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/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
notifications:
slack: northops:FsfnzghB9NkVWXanv0RivJZZ