blob: 5e068468068a55b30bfc9137204109d1f57dd640 [file] [log] [blame]
Martin Polreich95365592018-06-21 15:28:10 +02001language: python
2python:
3- "2.7.13"
azvyagintsevb80d6222018-02-19 15:53:40 +02004sudo: required
5services:
6 - docker
7
8addons:
9 apt:
10 packages:
11 - apt-transport-https
12
13install:
14 - git fetch --unshallow --tags
15 - pip install PyYAML
16 - pip install virtualenv
17 - pip install reno
18 - |
Martin Polreichb616e552018-11-07 14:42:05 +010019 if [ ! -e Gemfile ]; then
20 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'
21 fi
azvyagintsevb80d6222018-02-19 15:53:40 +020022 - bundle install
23
24env:
Martin Polreich6e49d5e2018-11-20 15:07:26 +010025 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=debmirror-client
26 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=debmirror-client
27 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=debmirror-client
azvyagintsevb80d6222018-02-19 15:53:40 +020028
29before_script:
30 - set -o pipefail
31 - make test | tail
32
33script:
34 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
35 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
36
37notifications:
38 webhooks:
39 urls:
40 - https://webhooks.gitter.im/e/6123573504759330786b
41 on_success: change # options: [always|never|change] default: always
42 on_failure: never # options: [always|never|change] default: always
43 on_start: never # options: [always|never|change] default: always
44 on_cancel: never # options: [always|never|change] default: always
45 on_error: never # options: [always|never|change] default: always
46 email: false