blob: a2d28da704785c1537b28725dec70304faad4434 [file] [log] [blame]
Martin Polreichfeafc6b2018-06-21 15:30:39 +02001language: python
2python:
3- "2.7.13"
Elena Ezhovaa3a43232017-06-02 17:53:00 +04004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreich8ce0b502018-11-07 14:44:10 +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
Elena Ezhovaa3a43232017-06-02 17:53:00 +040015 - bundle install
16
17env:
Martin Polreich02250c92018-11-20 15:09:46 +010018 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=api-single
19 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=api-cluster
20 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=manager-single
21 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=api-single
22 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=api-cluster
23 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=manager-single
24 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=api-single
25 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=api-cluster
26 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=pike SUITE=manager-single
27 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=queens SUITE=api-single
28 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=queens SUITE=api-cluster
29 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=queens SUITE=manager-single
Ann Kamyshnikova34f98b32018-11-28 16:08:06 +040030 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 OS_VERSION=queens SUITE=manager-cluster
Elena Ezhovaa3a43232017-06-02 17:53:00 +040031
32before_script:
33 - set -o pipefail
34 - make test | tail
35
36script:
Martin Polreichc97f3242018-01-05 13:28:41 +010037 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
38 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Elena Ezhovaa3a43232017-06-02 17:53:00 +040039
40notifications:
41 webhooks:
42 urls:
43 - https://webhooks.gitter.im/e/6123573504759330786b
44 on_success: change # options: [always|never|change] default: always
45 on_failure: never # options: [always|never|change] default: always
46 on_start: never # options: [always|never|change] default: always
47 on_cancel: never # options: [always|never|change] default: always
48 on_error: never # options: [always|never|change] default: always
49 email: false