blob: 42432833c4eddc829d1b8dafbe80da3b7ecb63ec [file] [log] [blame]
Filip Pytloun72cd3972018-01-18 13:40:40 +01001sudo: required
2services:
3 - docker
4
Petr Michalec62b84152018-01-18 14:15:02 +01005addons:
6 apt:
7 packages:
8 - apt-transport-https
9
Filip Pytloun72cd3972018-01-18 13:40:40 +010010install:
Filip Pytloun72cd3972018-01-18 13:40:40 +010011 - pip install PyYAML
12 - pip install virtualenv
Filip Pytloun72cd3972018-01-18 13:40:40 +010013 - |
Martin Polreich07f122f2018-11-07 13:29:27 +010014 if [ ! -e Gemfile ]; then
15 echo $PWD
16 curl -s -o ./Gemfile https://raw.githubusercontent.com/salt-formulas/salt-formulas-scripts/master/Gemfile
17 fi
Filip Pytloun72cd3972018-01-18 13:40:40 +010018 - bundle install
19
20env:
Martin Polreich3bbd92e2018-02-16 13:52:10 +010021 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7
22 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3
23# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7
Filip Pytloun72cd3972018-01-18 13:40:40 +010024
25before_script:
26 - set -o pipefail
27 - make test | tail
28 - reno lint $PWD | tail
29
30script:
Petr Michalec62b84152018-01-18 14:15:02 +010031 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
32 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Filip Pytloun72cd3972018-01-18 13:40:40 +010033
34notifications:
35 webhooks:
36 urls:
37 - https://webhooks.gitter.im/e/6123573504759330786b
Petr Michalec62b84152018-01-18 14:15:02 +010038 on_success: change # options: [always|never|change] default: always
Filip Pytloun72cd3972018-01-18 13:40:40 +010039 on_failure: never # options: [always|never|change] default: always
Petr Michalec62b84152018-01-18 14:15:02 +010040 on_start: never # options: [always|never|change] default: always
41 on_cancel: never # options: [always|never|change] default: always
Filip Pytloun72cd3972018-01-18 13:40:40 +010042 on_error: never # options: [always|never|change] default: always
43 email: false