Optimize kitchen tests for Travis CI
Change-Id: I6aa757a03fb7933d93ef0501a74443d20d644bdc
diff --git a/.travis.yml b/.travis.yml
index bed69f7..3ad76ed 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,17 +17,18 @@
- bundle install
env:
- - PLATFORM=trevorj/salty-whales:trusty SUITE=postgresql_server
- - PLATFORM=trevorj/salty-whales:xenial SUITE=postgresql_server
- - PLATFORM=trevorj/salty-whales:trusty SUITE=postgresql_client
- - PLATFORM=trevorj/salty-whales:xenial SUITE=postgresql_client
+ - PLATFORM=trevorj/salty-whales:trusty SUITE=postgresql-server
+ - PLATFORM=trevorj/salty-whales:xenial SUITE=postgresql-server
+ - PLATFORM=trevorj/salty-whales:trusty SUITE=postgresql-client
+ - PLATFORM=trevorj/salty-whales:xenial SUITE=postgresql-client
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: