forked from goblin23/chef-spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (45 loc) · 1.28 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
sudo: required
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
install: echo "skipping bundle install"
services: docker
jobs:
include:
- stage: style
before_script:
- eval "$(chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script:
- cookstyle .
- foodcritic .
- stage: itegration
env:
- KITCHEN_YAML=.kitchen.yml
- INSTANCE=ubuntu-1404 SUITE=init
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
script:
- kitchen verify ${SUITE}-${INSTANCE}
- stage: itegration
env:
- KITCHEN_YAML=.kitchen.yml
- INSTANCE=ubuntu-1604 SUITE=systemd
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
script:
- kitchen verify ${SUITE}-${INSTANCE}
- stage: itegration
env:
- KITCHEN_YAML=.kitchen.yml
- INSTANCE=centos-7 SUITE=systemd
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
script:
- kitchen verify ${SUITE}-${INSTANCE}