blob: ba3580349acf7efe03290bbeb03c59dc991e2962 [file] [log] [blame]
Martin Polreichacc0cf82018-06-21 15:26:54 +02001language: python
2python:
3- "2.7.13"
Martin Polreich9824fa72017-03-30 10:12:02 +02004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreichc587b912018-11-07 13:47:52 +010012 if [ ! -e Gemfile ]; then
13 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'
14 fi
Martin Polreich9824fa72017-03-30 10:12:02 +020015 - bundle install
16
17env:
Martin Polreiche1669a02018-11-20 15:05:11 +010018 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=ocata SUITE=server-cluster
19 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=ocata SUITE=server-single
20 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster
21 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=server-single
22 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster-ssl
23 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 OS_VERSION=pike SUITE=server-single-ssl
24 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=ocata SUITE=server-cluster-ssl
25 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=ocata SUITE=server-single-ssl
26 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster
27 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=server-single
28 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=server-cluster-ssl
29 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=server-single-ssl
Martin Polreich9824fa72017-03-30 10:12:02 +020030
31before_script:
32 - set -o pipefail
33 - make test | tail
34
35script:
Martin Polreich0892bf72018-01-05 12:35:58 +010036 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
37 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich9824fa72017-03-30 10:12:02 +020038
39notifications:
40 webhooks:
41 urls:
42 - https://webhooks.gitter.im/e/6123573504759330786b
43 on_success: change # options: [always|never|change] default: always
44 on_failure: never # options: [always|never|change] default: always
45 on_start: never # options: [always|never|change] default: always
46 on_cancel: never # options: [always|never|change] default: always
47 on_error: never # options: [always|never|change] default: always
48 email: false