blob: 51efa5a834171c4af5559341e7741f3aa4851ddd [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:
Martin Polreicha4a60ba2017-08-24 16:29:07 +020021 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=single
22 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=analytics
23 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=control
24 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=cluster
25 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=tor
26 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc311 SUITE=vrouter
27 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=single
28 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=analytics
29 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=control
30 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=cluster
31 # - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=tor
32 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc323 SUITE=vrouter
33 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=single
34 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=analytics
35 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=control
36 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=cluster
37 # - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=tor
38 - PLATFORM=trevorj/salty-whales:xenial OC_REPO=oc323 SUITE=vrouter
39 # - 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
44 - PLATFORM=trevorj/salty-whales:trusty OC_REPO=oc40 SUITE=vrouter40
45 # - 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