blob: 62f155be8c5bf5a1167d6366f86879068f7f730a [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:
Mykyta Karpin1d45fc82017-09-04 10:19:39 +030020 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=ceph_single
21 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=ceph_single
22 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control_cluster
23 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control_cluster
24 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=control_single
25 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=control_single
26 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=gpfs_single
27 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=gpfs_single
28 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=hp3par_single
29 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=hp3par_single
30 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=lefthand_single
31 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=lefthand_single
32 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=solidfire_single
33 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=solidfire_single
34 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=storwize_single
35 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=storwize_single
36 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume_single
37 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume_single
38 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=vsp_single
39 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=vsp_single
Oleg Iurchenko83ee09a2017-10-17 18:24:28 +030040 - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume_single_barbican
41 - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume_single_barbican
Martin Polreich0c7c2962017-03-28 17:18:05 +020042
Martin8192ce29c32017-03-23 22:31:45 +010043before_script:
Martin8193b2001d2017-03-28 08:28:32 +020044 - set -o pipefail
45 - make test | tail
Martin8192ce29c32017-03-23 22:31:45 +010046
47script:
Martin Polreich27318c02017-07-17 11:03:21 +020048 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
Martin Polreich0c7c2962017-03-28 17:18:05 +020049
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