Optimize kitchen tests for Travis CI
Change-Id: Ic9eb8db38ffe32cd4d32b8d3d51767971cfa2c2f
diff --git a/.travis.yml b/.travis.yml
index 59f8e50..129f9c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,16 +17,17 @@
- bundle install
env:
- - PLATFORM=trevorj/salty-whales:xenial SUITE=api_single
- - PLATFORM=trevorj/salty-whales:xenial SUITE=api_cluster
- - PLATFORM=trevorj/salty-whales:xenial SUITE=manager_single
+ - PLATFORM=trevorj/salty-whales:xenial SUITE=api-single
+ - PLATFORM=trevorj/salty-whales:xenial SUITE=api-cluster
+ - PLATFORM=trevorj/salty-whales:xenial SUITE=manager-single
before_script:
- set -o pipefail
- 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: