Accept the Chef license agreement on Travis

Based on
c3eaf7eac2/.travis.yml
This commit is contained in:
Greg Karékinian 2019-06-20 18:08:24 +02:00
parent ddad121924
commit 18d04d68fd

View File

@ -26,14 +26,14 @@ env:
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- CHEF_LICENSE=accept-no-persist chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml CHEF_VERSION=13.10.4 kitchen verify ${INSTANCE}
script: CHEF_LICENSE=accept-no-persist KITCHEN_LOCAL_YAML=.kitchen.dokken.yml CHEF_VERSION=13.10.4 kitchen verify ${INSTANCE}
matrix:
include:
- script:
- chef exec delivery local all
- CHEF_LICENSE=accept-no-persist chef exec delivery local all
env: UNIT_AND_LINT=1