Optimize kitchen tests for Travis CI
Change-Id: I39826e892ac25ad404b72657991e34738f579644
diff --git a/.travis.yml b/.travis.yml
index 62f155b..4f20546 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,35 +17,36 @@
- bundle install
env:
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=ceph_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=ceph_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control_cluster
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control_cluster
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=gpfs_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=gpfs_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=hp3par_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=hp3par_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=lefthand_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=lefthand_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=solidfire_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=solidfire_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=storwize_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=storwize_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=vsp_single
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=vsp_single
- - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume_single_barbican
- - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume_single_barbican
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=ceph-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=ceph-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control-cluster
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control-cluster
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=gpfs-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=gpfs-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=hp3par-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=hp3par-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=lefthand-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=lefthand-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=solidfire-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=solidfire-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=storwize-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=storwize-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=vsp-single
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=vsp-single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume-single-barbican
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume-single-barbican
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: