blob: 7782b8d8221e7ff3a20434b6789a7990eb2496f1 [file] [log] [blame]
Martin Polreicha60f4b22018-06-21 15:29:04 +02001language: python
2python:
3- "2.7.13"
Petr Michalecfc1801e2017-03-10 10:30:26 +01004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreich86b06202018-11-07 14:42: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
Petr Michalecfc1801e2017-03-10 10:30:26 +010015 - bundle install
16
17env:
Martin Polreich616d7f12018-04-18 10:43:59 +020018 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server-cluster
19 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server-plugin-dirs
20 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server-single
21 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server-cluster
22 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server-plugin-dirs
23 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server-single
24 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=server-cluster
25 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=server-plugin-dirs
26 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=server-single
27# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=server-cluster
28# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=server-plugin-dirs
29# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=server-single
30# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=server-cluster
31# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=server-plugin-dirs
32# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=server-single
Petr Michalecfc1801e2017-03-10 10:30:26 +010033
Martin Polreich04493d32017-03-28 16:50:07 +020034
Petr Michalecfc1801e2017-03-10 10:30:26 +010035before_script:
Martin Polreich04493d32017-03-28 16:50:07 +020036 - set -o pipefail
37 - make test | tail
Petr Michalecfc1801e2017-03-10 10:30:26 +010038
39script:
Martin Polreich5ac43ce2018-01-05 13:08:15 +010040 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
41 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich04493d32017-03-28 16:50:07 +020042
43notifications:
44 webhooks:
45 urls:
46 - https://webhooks.gitter.im/e/6123573504759330786b
47 on_success: change # options: [always|never|change] default: always
48 on_failure: never # options: [always|never|change] default: always
49 on_start: never # options: [always|never|change] default: always
50 on_cancel: never # options: [always|never|change] default: always
51 on_error: never # options: [always|never|change] default: always
52 email: false