blob: 2ffe067c016f25ce9f756649396e33c0f8e568c4 [file] [log] [blame]
Oleh Hryhorov3b72bf52018-05-18 16:23:04 +03001sudo: required
2services:
3 - docker
4
5addons:
6 apt:
7 packages:
8 - apt-transport-https
9
10install:
11 - pip install PyYAML
12 - pip install virtualenv
13 - |
Martin Polreiche48f9892018-11-07 14:44:25 +010014 if [ ! -e Gemfile ]; then
15 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'
16 fi
Oleh Hryhorov3b72bf52018-05-18 16:23:04 +030017 - bundle install
18
19env:
Martin Polreiche48f9892018-11-07 14:44:25 +010020 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=default
21 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=default
Oleh Hryhorov3b72bf52018-05-18 16:23:04 +030022# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7
23
24before_script:
25 - set -o pipefail
26 - make test | tail
27
28script:
29 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
30 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
31
32notifications:
33 webhooks:
34 urls:
35 - https://webhooks.gitter.im/e/6123573504759330786b
36 on_success: change # options: [always|never|change] default: always
37 on_failure: never # options: [always|never|change] default: always
38 on_start: never # options: [always|never|change] default: always
39 on_cancel: never # options: [always|never|change] default: always
40 on_error: never # options: [always|never|change] default: always
41 email: false