blob: 890ce1a2e3ee4db0b0b229ec3915bf678a2f5ba9 [file] [log] [blame]
Martin819a45fa092017-02-11 12:16:20 +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 Polreich86e381f2017-07-17 10:29:25 +020016 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
Martin819a45fa092017-02-11 12:16:20 +010017 - bundle install
18
Martin Polreich86e381f2017-07-17 10:29:25 +020019env:
Martin Polreich92e768a2017-08-24 15:44:07 +020020 - PLATFORM=trevorj/salty-whales:xenial SUITE=ceph_client_single
21 - PLATFORM=trevorj/salty-whales:xenial SUITE=ceph_mon_single
22 - PLATFORM=trevorj/salty-whales:xenial SUITE=ceph_osd_single
Martin Polreich86e381f2017-07-17 10:29:25 +020023
Martin819a45fa092017-02-11 12:16:20 +010024before_script:
Martin819dadd3e22017-03-28 08:05:33 +020025 - set -o pipefail
Martin Polreich86e381f2017-07-17 10:29:25 +020026 - make test | tail
Martin819a45fa092017-02-11 12:16:20 +010027
28script:
Martin Polreich92e768a2017-08-24 15:44:07 +020029 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
Martin Polreich86e381f2017-07-17 10:29:25 +020030
31notifications:
32 webhooks:
33 urls:
34 - https://webhooks.gitter.im/e/6123573504759330786b
35 on_success: change # options: [always|never|change] default: always
36 on_failure: never # options: [always|never|change] default: always
37 on_start: never # options: [always|never|change] default: always
38 on_cancel: never # options: [always|never|change] default: always
39 on_error: never # options: [always|never|change] default: always
40 email: false