Optimize kitchen tests for Travis CI
Change-Id: If1771dafecbbb74ab9c275d72371dd1cdbee6b9b
diff --git a/.travis.yml b/.travis.yml
index 937cb9a..59bf317 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,17 +17,18 @@
- bundle install
env:
- - PLATFORM=trevorj/salty-whales:trusty SUITE=rabbitmq_server
- - PLATFORM=trevorj/salty-whales:xenial SUITE=rabbitmq_server
-# - PLATFORM=trevorj/salty-whales:trusty SUITE=rabbitmq_ssl_server
-# - PLATFORM=trevorj/salty-whales:xenial SUITE=rabbitmq_ssl_server
+ - PLATFORM=trevorj/salty-whales:trusty SUITE=rabbitmq-server
+ - PLATFORM=trevorj/salty-whales:xenial SUITE=rabbitmq-server
+# - PLATFORM=trevorj/salty-whales:trusty SUITE=rabbitmq-ssl-server
+# - PLATFORM=trevorj/salty-whales:xenial SUITE=rabbitmq-ssl-server
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: