Bladeren bron

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

Change-Id: I137706926545ebfd917f935f43e582849e5d780c
pull/122/head
Martin Polreich 7 jaren geleden
bovenliggende
commit
00b8f53447
2 gewijzigde bestanden met toevoegingen van 13 en 5 verwijderingen
  1. +6
    -0
      .kitchen.travis.yml
  2. +7
    -5
      .travis.yml

+ 6
- 0
.kitchen.travis.yml Bestand weergeven

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

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

+ 7
- 5
.travis.yml Bestand weergeven

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

Laden…
Annuleren
Opslaan