blob: 4f95c82148fdfe0255748c2d123ac629de046ef5 [file] [log] [blame]
Martin Polreichb56d7382018-06-21 15:30:01 +02001language: python
2python:
3- "2.7.13"
Petr Michalec8a0d52e2018-05-30 16:22:56 +02004sudo: required
5services:
6 - docker
7
8addons:
9 apt:
10 packages:
11 - apt-transport-https
12
13install:
14 - pip install PyYAML
15 - pip install virtualenv
16 - |
Martin Polreich58ffd702018-11-07 14:43:43 +010017 if [ ! -e Gemfile ]; then
18 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'
19 fi
Petr Michalec8a0d52e2018-05-30 16:22:56 +020020 - bundle install
21
22env:
Martin Polreich21b2e442018-11-20 15:09:08 +010023 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19
24 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19
25 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19
Petr Michalec8a0d52e2018-05-30 16:22:56 +020026
27before_script:
28 - set -o pipefail
29 - make test | tail
30
31script:
32 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
33 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
34
35notifications:
36 webhooks:
37 urls:
38 - https://webhooks.gitter.im/e/6123573504759330786b
39 on_success: change # options: [always|never|change] default: always
40 on_failure: never # options: [always|never|change] default: always
41 on_start: never # options: [always|never|change] default: always
42 on_cancel: never # options: [always|never|change] default: always
43 on_error: never # options: [always|never|change] default: always
44 email: false