blob: 9f30200aefeccab4e8514b5cce8fafad91c9fbbe [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 - |
Martin Polreich1f390ef2018-11-07 14:45:18 +010011 if [ ! -e Gemfile ]; then
12 curl -s -o ./Gemfile 'https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas/salt-formulas-scripts.git;a=blob_plain;f=Gemfile;hb=refs/heads/master'
13 fi
Pavel Cizinsky7ce8e372017-11-15 14:32:47 +010014 - bundle install
15
16env:
17 - PLATFORM=trevorj/salty-whales:trusty
18 - PLATFORM=trevorj/salty-whales:xenial
19
20before_script:
21 - set -o pipefail
22 - make test | tail
23 - reno lint $PWD | tail
24
25script:
26 - test ! -e .kitchen.yml || bundle exec kitchen test -t tests/integration
27
28notifications:
29 webhooks:
30 urls:
31 - https://webhooks.gitter.im/e/6123573504759330786b
32 on_success: change # options: [always|never|change] default: always
33 on_failure: never # options: [always|never|change] default: always
34 on_start: never # options: [always|never|change] default: always
35 on_cancel: never # options: [always|never|change] default: always
36 on_error: never # options: [always|never|change] default: always
37 email: false