Optimize kitchen tests for Travis CI
Change-Id: Id7915e06becf9216ca14cd0b88050ec2bbeabb81
diff --git a/.travis.yml b/.travis.yml
index 8e6fe8e..37c445a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,8 +17,8 @@
- bundle install
env:
- - PLATFORM=trevorj/salty-whales:trusty SUITE=memcached_server
- - PLATFORM=trevorj/salty-whales:xenial SUITE=memcached_server
+ - PLATFORM=trevorj/salty-whales:trusty SUITE=memcached-server
+ - PLATFORM=trevorj/salty-whales:xenial SUITE=memcached-server
before_script:
@@ -26,7 +26,8 @@
- 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: