forked from rabbitmq/chef-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (29 loc) · 859 Bytes
/
.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
dist: xenial
before_install:
- gem update bundler
- bundle update --bundler
install: ./bin/ci/install_chef_dk.sh
env:
- CHEF_LICENSE=accept
cache: bundler
services: docker
# kitchen list -b | xargs -I {} echo "- INSTANCE={}"
env:
matrix:
- INSTANCE=default-deb-debian-9
- INSTANCE=default-deb-ubuntu-1804
- INSTANCE=default-rpm-centos-74
- INSTANCE=system-limits-deb-ubuntu-1804
- INSTANCE=lwrps
- INSTANCE=36x-lwrps
- INSTANCE=cluster-deb-ubuntu-1804
- INSTANCE=cluster-rpm
- INSTANCE=default-force-yes
- INSTANCE=default-force-yes-false
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml /opt/chefdk/embedded/bin/kitchen test ${INSTANCE}
matrix:
include:
script: bundle exec rake
env: UNIT_AND_LINT=1