blob: cd01c163b6181ae3e13e6bb821caa8ef3e166058 [file] [log] [blame]
Martin Polreich99d34922018-06-21 15:29:01 +02001language: python
2python:
3- "2.7.13"
Martin8192a0ad192017-03-16 15:38:13 +01004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreich6db3df72018-11-07 14:42:47 +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
Martin8192a0ad192017-03-16 15:38:13 +010015 - bundle install
16
17env:
Martin Polreich515dcd52018-11-20 15:08:08 +010018 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=admin
19 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=single-contrail
20 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=single-general-service
21 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=single-openstack-service
Oleksandr Bryndzii57aa7b42018-12-11 11:48:23 +000022 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=single-rate-limiting
Martin Polreich515dcd52018-11-20 15:08:08 +010023 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=stats
24 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=admin
25 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single-contrail
26 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single-general-service
27 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single-openstack-service
Oleksandr Bryndzii57aa7b42018-12-11 11:48:23 +000028 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single-rate-limiting
Martin Polreich515dcd52018-11-20 15:08:08 +010029 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=stats
30 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=admin
31 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single-contrail
32 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single-general-service
33 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single-openstack-service
Oleksandr Bryndzii57aa7b42018-12-11 11:48:23 +000034 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single-rate-limiting
Martin Polreich515dcd52018-11-20 15:08:08 +010035 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=stats
Martin Polreich8957e952017-03-28 17:09:34 +020036
Martin8192a0ad192017-03-16 15:38:13 +010037before_script:
Martin Polreich8957e952017-03-28 17:09:34 +020038 - set -o pipefail
39 - make test | tail
Martin8192a0ad192017-03-16 15:38:13 +010040
41script:
Martin Polreich382c8702018-01-05 13:07:49 +010042 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
43 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich8957e952017-03-28 17:09:34 +020044
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