blob: 3e545399e4c5e0128d7f51f4e1d36669c2d1e0a2 [file] [log] [blame]
Petr Michalec35277532017-02-28 23:16:58 +01001sudo: required
2services:
3 - docker
4
Petr Michalec69693222017-04-13 09:59:27 +02005addons:
6 apt:
7 packages:
8 - apt-transport-https
9
Petr Michalec35277532017-02-28 23:16:58 +010010install:
11 - pip install PyYAML
12 - pip install virtualenv
13 - |
14 test -e Gemfile || cat <<EOF > Gemfile
15 source 'https://rubygems.org'
16 gem 'rake'
17 gem 'test-kitchen'
18 gem 'kitchen-docker'
19 gem 'kitchen-inspec'
20 gem 'inspec'
Martin Polreichf0d157b2017-03-28 16:43:40 +020021 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
Petr Michalec35277532017-02-28 23:16:58 +010022 - bundle install
23
24env:
Martin Polreich00b8f532017-08-24 16:11:46 +020025 - PLATFORM=trevorj/salty-whales:trusty SUITE=network
26 - PLATFORM=trevorj/salty-whales:xenial SUITE=network
27 # - PLATFORM=trevorj/salty-whales:trusty SUITE=storage
28 # - PLATFORM=trevorj/salty-whales:xenial SUITE=storage
29 - PLATFORM=trevorj/salty-whales:trusty SUITE=system
30 - PLATFORM=trevorj/salty-whales:xenial SUITE=system
Petr Michalec35277532017-02-28 23:16:58 +010031
32before_script:
Martin Polreichf0d157b2017-03-28 16:43:40 +020033 - set -o pipefail
Petr Michalec35277532017-02-28 23:16:58 +010034 - make test | tail
35
36script:
Martin Polreich00b8f532017-08-24 16:11:46 +020037 - KITCHEN_LOCAL_YAML=.kitchen.travis.yml bundle exec kitchen test -t tests/integration
Martin Polreichf0d157b2017-03-28 16:43:40 +020038
39notifications:
40 webhooks:
41 urls:
42 - https://webhooks.gitter.im/e/6123573504759330786b
43 on_success: change # options: [always|never|change] default: always
44 on_failure: never # options: [always|never|change] default: always
45 on_start: never # options: [always|never|change] default: always
46 on_cancel: never # options: [always|never|change] default: always
47 on_error: never # options: [always|never|change] default: always
48 email: false