Optimize kitchen tests for Travis CI
Change-Id: Ia4f7ac471fb587da22e0454287d55cb8ba04d9d3
This commit is contained in:
parent
94baab3660
commit
3b2088ff09
2 changed files with 2 additions and 7 deletions
|
@ -1,6 +0,0 @@
|
||||||
suites:
|
|
||||||
|
|
||||||
- name: <%= ENV['SUITE'] %>
|
|
||||||
provisioner:
|
|
||||||
pillars-from-files:
|
|
||||||
prometheus.sls: tests/pillar/<%= ENV['SUITE'] %>.sls
|
|
|
@ -27,7 +27,8 @@ before_script:
|
||||||
- make test | tail
|
- make test | tail
|
||||||
|
|
||||||
script:
|
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:
|
notifications:
|
||||||
webhooks:
|
webhooks:
|
||||||
|
|
Loading…
Reference in a new issue