blob: 77f72c9f5be1445dc5aaf71964752454bd2bb82c [file] [log] [blame]
Martin8192ce29c32017-03-23 22:31:45 +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'
Martin Polreich0c7c2962017-03-28 17:18:05 +020016 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
Martin8192ce29c32017-03-23 22:31:45 +010017 - bundle install
18
19env:
Martin Polreich27318c02017-07-17 11:03:21 +020020 - PLATFORM=trevorj/salty-whales:trusty SUITE=ceph_single
21 - PLATFORM=trevorj/salty-whales:xenial SUITE=ceph_single
22 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_cluster
23 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_cluster
24 - PLATFORM=trevorj/salty-whales:trusty SUITE=control_single
25 - PLATFORM=trevorj/salty-whales:xenial SUITE=control_single
26 - PLATFORM=trevorj/salty-whales:trusty SUITE=gpfs_single
27 - PLATFORM=trevorj/salty-whales:xenial SUITE=gpfs_single
28 - PLATFORM=trevorj/salty-whales:trusty SUITE=hp3par_single
29 - PLATFORM=trevorj/salty-whales:xenial SUITE=hp3par_single
30 - PLATFORM=trevorj/salty-whales:trusty SUITE=lefthand_single
31 - PLATFORM=trevorj/salty-whales:xenial SUITE=lefthand_single
32 - PLATFORM=trevorj/salty-whales:trusty SUITE=solidfire_single
33 - PLATFORM=trevorj/salty-whales:xenial SUITE=solidfire_single
34 - PLATFORM=trevorj/salty-whales:trusty SUITE=storwize_single
35 - PLATFORM=trevorj/salty-whales:xenial SUITE=storwize_single
36 - PLATFORM=trevorj/salty-whales:trusty SUITE=volume_single
37 - PLATFORM=trevorj/salty-whales:xenial SUITE=volume_single
38 - PLATFORM=trevorj/salty-whales:trusty SUITE=vsp_single
39 - PLATFORM=trevorj/salty-whales:xenial SUITE=vsp_single
Martin Polreich0c7c2962017-03-28 17:18:05 +020040
Martin8192ce29c32017-03-23 22:31:45 +010041before_script:
Martin8193b2001d2017-03-28 08:28:32 +020042 - set -o pipefail
43 - make test | tail
Martin8192ce29c32017-03-23 22:31:45 +010044
45script:
Martin Polreich27318c02017-07-17 11:03:21 +020046 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
Martin Polreich0c7c2962017-03-28 17:18:05 +020047
48notifications:
49 webhooks:
50 urls:
51 - https://webhooks.gitter.im/e/6123573504759330786b
52 on_success: change # options: [always|never|change] default: always
53 on_failure: never # options: [always|never|change] default: always
54 on_start: never # options: [always|never|change] default: always
55 on_cancel: never # options: [always|never|change] default: always
56 on_error: never # options: [always|never|change] default: always
57 email: false