blob: 9f852ab17b1d9d391cade19067c5092dbe4be3fc [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:
Petr Michaleceac55cf2018-05-31 10:06:09 +020021 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3
22 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7
23 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-stable
24 - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7
25 - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-stable
26 - PLATFORM=epcim/salt:saltstack-centos-7-salt-2017.7
27 - PLATFORM=epcim/salt:saltstack-centos-7-salt-stable
Filip Pytloun72cd3972018-01-18 13:40:40 +010028
29before_script:
30 - set -o pipefail
31 - make test | tail
Filip Pytloun72cd3972018-01-18 13:40:40 +010032
33script:
Petr Michalec62b84152018-01-18 14:15:02 +010034 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
35 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Filip Pytloun72cd3972018-01-18 13:40:40 +010036
37notifications:
38 webhooks:
39 urls:
40 - https://webhooks.gitter.im/e/6123573504759330786b
Petr Michalec62b84152018-01-18 14:15:02 +010041 on_success: change # options: [always|never|change] default: always
Filip Pytloun72cd3972018-01-18 13:40:40 +010042 on_failure: never # options: [always|never|change] default: always
Petr Michalec62b84152018-01-18 14:15:02 +010043 on_start: never # options: [always|never|change] default: always
44 on_cancel: never # options: [always|never|change] default: always
Filip Pytloun72cd3972018-01-18 13:40:40 +010045 on_error: never # options: [always|never|change] default: always
46 email: false