blob: 6e01664333ee5cd010dbfc294175a2f200b8a010 [file] [log] [blame]
Petr Michalec520a2a12017-03-13 08:47:43 +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-inspec'
15 gem 'inspec'
16 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
17 - bundle install
18
19env:
Martin Polreich7638fd12017-07-12 16:12:39 +000020 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_dpdk
21 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_dpdk
22 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_dvr
23 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_dvr
Elena Ezhova166d4012017-08-17 12:53:52 +040024 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_dvr_fwaas_v1
Martin Polreich7638fd12017-07-12 16:12:39 +000025 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_legacy
26 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_legacy
27 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_nonexternal_dvr
28 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_nonexternal_dvr
29 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_sriov
30 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_sriov
Elena Ezhova166d4012017-08-17 12:53:52 +040031 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_qos_sriov
32 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_qos_sriov
33 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_qos
34 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_qos
Oleg Bondarev0575ae42017-07-28 16:36:25 +040035 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_ovn
Martin Polreich7638fd12017-07-12 16:12:39 +000036 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_cluster
37 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_cluster
38 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_dvr
39 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_dvr
40 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_nodvr
41 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_nodvr
42 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_single
43 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_single
Elena Ezhova166d4012017-08-17 12:53:52 +040044 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_lbaas_octavia
45 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_fwaas_v1
46 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_qos
47 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_qos
Oleg Bondarev0575ae42017-07-28 16:36:25 +040048 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_ovn
Oleg Iurchenko8cf6cf52017-09-18 15:44:03 +030049 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_dns
50 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_dns
Martin Polreich7638fd12017-07-12 16:12:39 +000051 - PLATFORM=trevorj/salty-whales:trusty SUITE=gateway_dvr
52 - PLATFORM=trevorj/salty-whales:xenial SUITE=gateway_dvr
53 - PLATFORM=trevorj/salty-whales:trusty SUITE=gateway_legacy
54 - PLATFORM=trevorj/salty-whales:xenial SUITE=gateway_legacy
Elena Ezhova166d4012017-08-17 12:53:52 +040055 - PLATFORM=trevorj/salty-whales:trusty SUITE=gateway_qos
56 - PLATFORM=trevorj/salty-whales:xenial SUITE=gateway_qos
57 - PLATFORM=trevorj/salty-whales:xenial SUITE=gateway_legacy_fwaas_v1
Petr Michalec520a2a12017-03-13 08:47:43 +010058
59before_script:
60 - set -o pipefail
61 - make test | tail
62
63script:
Martin Polreich7638fd12017-07-12 16:12:39 +000064 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
Petr Michalec520a2a12017-03-13 08:47:43 +010065
66notifications:
67 webhooks:
68 urls:
69 - https://webhooks.gitter.im/e/6123573504759330786b
70 on_success: change # options: [always|never|change] default: always
71 on_failure: never # options: [always|never|change] default: always
72 on_start: never # options: [always|never|change] default: always
73 on_cancel: never # options: [always|never|change] default: always
74 on_error: never # options: [always|never|change] default: always
75 email: false