From 3b2088ff098908495a8fe924c4c184d379cf7070 Mon Sep 17 00:00:00 2001 From: Martin Polreich Date: Fri, 5 Jan 2018 13:31:48 +0100 Subject: [PATCH] Optimize kitchen tests for Travis CI Change-Id: Ia4f7ac471fb587da22e0454287d55cb8ba04d9d3 --- .kitchen.travis.yml | 6 ------ .travis.yml | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 .kitchen.travis.yml diff --git a/.kitchen.travis.yml b/.kitchen.travis.yml deleted file mode 100644 index 455c721..0000000 --- a/.kitchen.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -suites: - - - name: <%= ENV['SUITE'] %> - provisioner: - pillars-from-files: - prometheus.sls: tests/pillar/<%= ENV['SUITE'] %>.sls diff --git a/.travis.yml b/.travis.yml index 2c41ae6..34fdc99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,8 @@ before_script: - 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: