Просмотр исходного кода

Merge "Update .travis.yml and .kitchen.yml files for parallel testing"

pull/122/head
Martin Polreich 7 лет назад
Родитель
Сommit
9557d3c175
2 измененных файлов: 13 добавлений и 5 удалений
  1. +6
    -0
      .kitchen.travis.yml
  2. +7
    -5
      .travis.yml

+ 6
- 0
.kitchen.travis.yml Просмотреть файл

@@ -0,0 +1,6 @@
suites:

- name: <%= ENV['SUITE'] %>
provisioner:
pillars-from-files:
neutron.sls: tests/pillar/<%= ENV['SUITE'] %>.sls

+ 7
- 5
.travis.yml Просмотреть файл

@@ -22,17 +22,19 @@ install:
- bundle install

env:
- PLATFORM=trevorj/salty-whales:trusty
- PLATFORM=trevorj/salty-whales:xenial

- PLATFORM=trevorj/salty-whales:trusty SUITE=network
- PLATFORM=trevorj/salty-whales:xenial SUITE=network
# - PLATFORM=trevorj/salty-whales:trusty SUITE=storage
# - PLATFORM=trevorj/salty-whales:xenial SUITE=storage
- PLATFORM=trevorj/salty-whales:trusty SUITE=system
- PLATFORM=trevorj/salty-whales:xenial SUITE=system

before_script:
- set -o pipefail
- make test | tail

script:
- test ! -e .kitchen.yml || bundle exec kitchen converge || true
- test ! -e .kitchen.yml || bundle exec kitchen verify -t tests/integration
- KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration

notifications:
webhooks:

Загрузка…
Отмена
Сохранить