Kaynağa Gözat

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

pull/122/head
Martin Polreich 7 yıl önce
ebeveyn
işleme
9557d3c175
2 değiştirilmiş dosya ile 13 ekleme ve 5 silme
  1. +6
    -0
      .kitchen.travis.yml
  2. +7
    -5
      .travis.yml

+ 6
- 0
.kitchen.travis.yml Dosyayı Görüntüle

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

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

+ 7
- 5
.travis.yml Dosyayı Görüntüle

@@ -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:

Yükleniyor…
İptal
Kaydet