blob: a5a7e3c4b1f3da4b26c6a6e3d4dc911d69bf9ba0 [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 Polreicha206f8a2018-04-25 14:11:59 +020018 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=api-single
19 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=api-cluster
20 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=manager-single
21 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=api-single
22 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=api-cluster
23 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=manager-single
Ann Taraday4a506432018-09-07 16:48:20 +040024 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 OS_VERSION=pike SUITE=api-single
25 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 OS_VERSION=pike SUITE=api-cluster
26 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 OS_VERSION=pike SUITE=manager-single
Ann Taraday1570aa72018-09-07 16:11:00 +040027 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 OS_VERSION=queens SUITE=api-single
28 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 OS_VERSION=queens SUITE=api-cluster
29 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 OS_VERSION=queens SUITE=manager-single
Martin Polreicha206f8a2018-04-25 14:11:59 +020030 # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=api-single
31 # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=api-cluster
32 # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=manager-single
33 # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=api-single
34 # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=api-cluster
35 # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=manager-single
Elena Ezhovaa3a43232017-06-02 17:53:00 +040036
37before_script:
38 - set -o pipefail
39 - make test | tail
40
41script:
Martin Polreichc97f3242018-01-05 13:28:41 +010042 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
43 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Elena Ezhovaa3a43232017-06-02 17:53:00 +040044
45notifications:
46 webhooks:
47 urls:
48 - https://webhooks.gitter.im/e/6123573504759330786b
49 on_success: change # options: [always|never|change] default: always
50 on_failure: never # options: [always|never|change] default: always
51 on_start: never # options: [always|never|change] default: always
52 on_cancel: never # options: [always|never|change] default: always
53 on_error: never # options: [always|never|change] default: always
54 email: false