-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update travis.yml configuration for kitchen-dokken.
- Loading branch information
John Bellone
committed
Jul 19, 2016
1 parent
36e7d70
commit eb7f3f6
Showing
8 changed files
with
55 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,43 @@ | ||
--- | ||
language: ruby | ||
cache: bundler | ||
sudo: required | ||
dist: trusty | ||
language: generic | ||
services: | ||
- docker | ||
cache: bundler | ||
addons: | ||
apt: | ||
sources: | ||
- chef-current-trusty | ||
packages: | ||
- chefdk | ||
services: docker | ||
env: | ||
global: | ||
KITCHEN_LOCAL_YAML: .kitchen.docker.yml | ||
matrix: | ||
- INSTANCE=default-centos-7 | ||
- INSTANCE=default-centos-6 | ||
- INSTANCE=default-ubuntu-1604 | ||
- INSTANCE=default-ubuntu-1404 | ||
before_script: | ||
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889 | ||
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) | ||
- eval "$(/opt/chefdk/bin/chef shell-init bash)" | ||
- /opt/chefdk/embedded/bin/chef gem install kitchen-dokken | ||
- /opt/chefdk/embedded/bin/chef --version | ||
- /opt/chefdk/embedded/bin/cookstyle --version | ||
- /opt/chefdk/embedded/bin/foodcritic --version | ||
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE} | ||
after_script: | ||
- docker images | ||
- docker ps -a | ||
- cat .kitchen/logs/kitchen.log | ||
matrix: | ||
include: | ||
- script: /opt/chefdk/embedded/bin/cookstyle | ||
env: COOKSTYLE=1 | ||
- script: /opt/chefdk/embedded/bin/foodcritic . --exclude spec -f any | ||
env: FOODCRITIC=1 | ||
- script: | ||
- bundle install | ||
- /opt/chefdk/embedded/bin/rspec --color --default-path test/spec | ||
env: CHEFSPEC=1 | ||
notifications: | ||
slack: bloomberg-rnd:BvYmxrV9xj902XWTRNrkLNkR | ||
install: | ||
- curl https://chef.io/chef/install.sh | sudo bash -s -- -P chefdk | ||
- chef gem install kitchen-docker | ||
script: | ||
- bundle exec rake travis | ||
- docker version | ||
- kitchen --version | ||
- kitchen test -d always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters