blob: 4e5f57aa189c75bd6315ec40c9c3bf67ea6e675e [file] [log] [blame]
Martin Polreich6b3a0902018-06-21 15:28:49 +02001language: python
2python:
3- "2.7.13"
Petr Michalec1c5f7c42017-03-10 10:26:09 +01004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreich644a5182018-11-07 14:42:38 +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 Michalec1c5f7c42017-03-10 10:26:09 +010015 - bundle install
16
17env:
Martin Polreichee2866b2018-11-20 15:08:01 +010018 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=cluster
19 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single-ceph
20 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single-barbican
21 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single
22 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=cluster
23 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single-ceph
24 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single-barbican
25 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single
Petr Michalec1c5f7c42017-03-10 10:26:09 +010026
27before_script:
Martin Polreich603c8022017-04-06 10:04:51 +020028 - set -o pipefail
29 - make test | tail
Petr Michalec1c5f7c42017-03-10 10:26:09 +010030
31script:
Martin Polreich4da11872018-01-05 13:06:39 +010032 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
33 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich603c8022017-04-06 10:04:51 +020034
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