blob: fa7c5f9db944cc6a70dc62ca4acfe168c541ed4e [file] [log] [blame]
Martin Polreich48ae3e12017-04-13 10:53:32 +02001sudo: 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'
Petr Michalec0d93a222017-05-03 08:29:47 +020016 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git', :branch => 'master'
Martin Polreich48ae3e12017-04-13 10:53:32 +020017 - bundle install
18
19env:
Martin Polreichac9be642017-08-24 17:19:59 +020020 - PLATFORM=trevorj/salty-whales:xenial SUITE=client_compose
21 - PLATFORM=trevorj/salty-whales:xenial SUITE=client_container
22 - PLATFORM=trevorj/salty-whales:xenial SUITE=host_single
Martin Polreich48ae3e12017-04-13 10:53:32 +020023
24before_script:
25 - make test | tail
26
27script:
Martin Polreichac9be642017-08-24 17:19:59 +020028 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
29
30notifications:
31 webhooks:
32 urls:
33 - https://webhooks.gitter.im/e/6123573504759330786b
34 on_success: change # options: [always|never|change] default: always
35 on_failure: never # options: [always|never|change] default: always
36 on_start: never # options: [always|never|change] default: always
37 on_cancel: never # options: [always|never|change] default: always
38 on_error: never # options: [always|never|change] default: always
39 email: false