Optimize kitchen tests for Travis CI
Change-Id: I0b2415df4f5725c3e72fcc34ebace9ad48dc037b
diff --git a/.kitchen.travis.yml b/.kitchen.travis.yml
deleted file mode 100644
index 6b7d9ac..0000000
--- a/.kitchen.travis.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-suites:
-
- - name: <%= ENV['SUITE'] %>
- provisioner:
- pillars-from-files:
- helm.sls: tests/pillar/<%= ENV['SUITE'] %>.sls
diff --git a/.kitchen.yml b/.kitchen.yml
index 6211b97..d8e1607 100644
--- a/.kitchen.yml
+++ b/.kitchen.yml
@@ -42,6 +42,6 @@
- name: single
provisioner:
pillars-from-files:
- helm.sls: tests/pillar/single.sls
+ helm.sls: tests/pillar/single.sls
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125
diff --git a/.travis.yml b/.travis.yml
index de3b343..7f908f4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,7 +24,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: