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 | 27318c0 | 2017-07-17 11:03:21 +0200 | [diff] [blame] | 20 | - 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 Polreich | 0c7c296 | 2017-03-28 17:18:05 +0200 | [diff] [blame] | 40 | |
Martin819 | 2ce29c3 | 2017-03-23 22:31:45 +0100 | [diff] [blame] | 41 | before_script: |
Martin819 | 3b2001d | 2017-03-28 08:28:32 +0200 | [diff] [blame] | 42 | - set -o pipefail |
| 43 | - make test | tail |
Martin819 | 2ce29c3 | 2017-03-23 22:31:45 +0100 | [diff] [blame] | 44 | |
| 45 | script: |
Martin Polreich | 27318c0 | 2017-07-17 11:03:21 +0200 | [diff] [blame] | 46 | - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration |
Martin Polreich | 0c7c296 | 2017-03-28 17:18:05 +0200 | [diff] [blame] | 47 | |
| 48 | notifications: |
| 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 |