.travis.yml
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