blob: 950b7af514e547b3ef2130067356f5b688ca5279 [file] [log] [blame]
Petr Michalec579e64d2017-03-24 12:54:29 +01001sudo: required
2services:
3 - docker
4
5install:
6 - pip install PyYAML
7 - pip install virtualenv
8 - |
9 test -e Gemfile || cat <<EOF > Gemfile
10 source 'https://rubygems.org'
11 gem 'rake'
12 gem 'test-kitchen'
13 gem 'kitchen-docker'
14 gem 'kitchen-vagrant'
15 gem 'kitchen-inspec'
16 gem 'inspec'
Martin Polreich9ea2c472017-04-06 09:59:10 +020017 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
Petr Michalec579e64d2017-03-24 12:54:29 +010018 - bundle install
19
20env:
chnydadf46d942017-10-25 13:43:42 +020021 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=single3
22 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=analytics3
23 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=control3
24 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=cluster3
25 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=tor3
26 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=vrouter3
27 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=single3
28 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=analytics3
29 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=control3
30 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=cluster3
31 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=tor3
32 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=vrouter3
33 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=single3
34 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=analytics3
35 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=control3
36 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=cluster3
37 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=tor3
38 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=vrouter3
Martin Polreicha4a60ba2017-08-24 16:29:07 +020039 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc40 SUITE=single40
40 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc40 SUITE=analytics40
41 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc40 SUITE=control40
42 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc40 SUITE=cluster40
43 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc40 SUITE=tor40
chnyda77c8a6f2017-09-20 16:31:44 +020044 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc40 SUITE=vrouter40
Martin Polreicha4a60ba2017-08-24 16:29:07 +020045 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc40 SUITE=single40
46 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc40 SUITE=analytics40
47 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc40 SUITE=control40
48 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc40 SUITE=cluster40
49 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc40 SUITE=tor40
50 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc40 SUITE=vrouter40
Petr Michalec579e64d2017-03-24 12:54:29 +010051
52before_script:
Martin Polreich9ea2c472017-04-06 09:59:10 +020053 - set -o pipefail
Petr Michalec579e64d2017-03-24 12:54:29 +010054 - make test | tail
55
56script:
Martin Polreicha4a60ba2017-08-24 16:29:07 +020057 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
Petr Michalec579e64d2017-03-24 12:54:29 +010058
Martin Polreich9ea2c472017-04-06 09:59:10 +020059notifications:
60 webhooks:
61 urls:
62 - https://webhooks.gitter.im/e/6123573504759330786b
63 on_success: change # options: [always|never|change] default: always
64 on_failure: never # options: [always|never|change] default: always
65 on_start: never # options: [always|never|change] default: always
66 on_cancel: never # options: [always|never|change] default: always
67 on_error: never # options: [always|never|change] default: always
68 email: false