blob: 15fd7bc305d3549572f1e239e30d8b3c022d6198 [file] [log] [blame]
Pavel Cizinsky7ce8e372017-11-15 14:32:47 +01001sudo: required
2services:
3 - docker
4
5install:
6 - git fetch --unshallow --tags
7 - pip install PyYAML
8 - pip install virtualenv
9 - pip install reno
10 - |
11 test -e Gemfile || cat <<EOF > Gemfile
12 source 'https://rubygems.org'
13 gem 'rake'
14 gem 'test-kitchen'
15 gem 'kitchen-docker'
16 gem 'kitchen-inspec'
17 gem 'inspec'
18 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
19 - bundle install
20
21env:
22 - PLATFORM=trevorj/salty-whales:trusty
23 - PLATFORM=trevorj/salty-whales:xenial
24
25before_script:
26 - set -o pipefail
27 - make test | tail
28 - reno lint $PWD | tail
29
30script:
31 - test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration
32
33notifications:
34 webhooks:
35 urls:
36 - https://webhooks.gitter.im/e/6123573504759330786b
37 on_success: change # options: [always|never|change] default: always
38 on_failure: never # options: [always|never|change] default: always
39 on_start: never # options: [always|never|change] default: always
40 on_cancel: never # options: [always|never|change] default: always
41 on_error: never # options: [always|never|change] default: always
42 email: false