blob: 3925301f9a5b28ae22830002791ab3d50cf69112 [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
24 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_legacy
25 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_legacy
26 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_nonexternal_dvr
27 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_nonexternal_dvr
28 - PLATFORM=trevorj/salty-whales:trusty SUITE=compute_sriov
29 - PLATFORM=trevorj/salty-whales:xenial SUITE=compute_sriov
30 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_cluster
31 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_cluster
32 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_dvr
33 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_dvr
34 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_nodvr
35 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_nodvr
36 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_single
37 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_single
38 - PLATFORM=trevorj/salty-whales:trusty SUITE=gateway_dvr
39 - PLATFORM=trevorj/salty-whales:xenial SUITE=gateway_dvr
40 - PLATFORM=trevorj/salty-whales:trusty SUITE=gateway_legacy
41 - PLATFORM=trevorj/salty-whales:xenial SUITE=gateway_legacy
Petr Michalec520a2a12017-03-13 08:47:43 +010042
43before_script:
44 - set -o pipefail
45 - make test | tail
46
47script:
Martin Polreich7638fd12017-07-12 16:12:39 +000048 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
Petr Michalec520a2a12017-03-13 08:47:43 +010049
50notifications:
51 webhooks:
52 urls:
53 - https://webhooks.gitter.im/e/6123573504759330786b
54 on_success: change # options: [always|never|change] default: always
55 on_failure: never # options: [always|never|change] default: always
56 on_start: never # options: [always|never|change] default: always
57 on_cancel: never # options: [always|never|change] default: always
58 on_error: never # options: [always|never|change] default: always
59 email: false