Merge "Optimize kitchen tests for Travis CI"

This commit is contained in:
Petr Michalec 2018-01-10 09:39:20 +00:00 committed by Gerrit Code Review
commit d7390ec35a
2 changed files with 2 additions and 7 deletions

View file

@ -1,6 +0,0 @@
suites:
- name: <%= ENV['SUITE'] %>
provisioner:
pillars-from-files:
prometheus.sls: tests/pillar/<%= ENV['SUITE'] %>.sls

View file

@ -27,7 +27,8 @@ before_script:
- make test | tail
script:
- KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
- test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
- test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
notifications:
webhooks: