blob: c1872fe3346a8e5e30b6728a4d99f504bcfb09c4 [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 Polreich346602c2017-04-05 10:33:42 +020020 - SUITE=ceph_single
21 - SUITE=control_cluster
22 - SUITE=control_single
23 - SUITE=gpfs_single
24 - SUITE=hp3par_single
25 - SUITE=lefthand_single
26 - SUITE=solidfire_single
27 - SUITE=storwize_single
28 - SUITE=volume_single
29 - SUITE=vsp_single
Martin Polreich0c7c2962017-03-28 17:18:05 +020030
Martin8192ce29c32017-03-23 22:31:45 +010031before_script:
Martin8193b2001d2017-03-28 08:28:32 +020032 - set -o pipefail
33 - make test | tail
Martin8192ce29c32017-03-23 22:31:45 +010034
35script:
36 - test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration
Martin Polreich0c7c2962017-03-28 17:18:05 +020037
38notifications:
39 webhooks:
40 urls:
41 - https://webhooks.gitter.im/e/6123573504759330786b
42 on_success: change # options: [always|never|change] default: always
43 on_failure: never # options: [always|never|change] default: always
44 on_start: never # options: [always|never|change] default: always
45 on_cancel: never # options: [always|never|change] default: always
46 on_error: never # options: [always|never|change] default: always
47 email: false