Martin819 | 2ce29c3 | 2017-03-23 22:31:45 +0100 | [diff] [blame] | 1 | sudo: required |
| 2 | services: |
| 3 | - docker |
| 4 | |
| 5 | install: |
| 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 Polreich | 0c7c296 | 2017-03-28 17:18:05 +0200 | [diff] [blame] | 16 | gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git' |
Martin819 | 2ce29c3 | 2017-03-23 22:31:45 +0100 | [diff] [blame] | 17 | - bundle install |
| 18 | |
| 19 | env: |
Martin Polreich | 346602c | 2017-04-05 10:33:42 +0200 | [diff] [blame] | 20 | - 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 Polreich | 0c7c296 | 2017-03-28 17:18:05 +0200 | [diff] [blame] | 30 | |
Martin819 | 2ce29c3 | 2017-03-23 22:31:45 +0100 | [diff] [blame] | 31 | before_script: |
Martin819 | 3b2001d | 2017-03-28 08:28:32 +0200 | [diff] [blame] | 32 | - set -o pipefail |
| 33 | - make test | tail |
Martin819 | 2ce29c3 | 2017-03-23 22:31:45 +0100 | [diff] [blame] | 34 | |
| 35 | script: |
| 36 | - test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration |
Martin Polreich | 0c7c296 | 2017-03-28 17:18:05 +0200 | [diff] [blame] | 37 | |
| 38 | notifications: |
| 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 |