blob: fee7bcb4193207552956b3cf27a48af156f8cebf [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 Polreichc01f5fc2018-04-06 15:01:35 +020025 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=debmirror-client
26 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=debmirror-client
27 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=debmirror-client
28# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=debmirror-client
29# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=debmirror-client
azvyagintsevb80d6222018-02-19 15:53:40 +020030
31before_script:
32 - set -o pipefail
33 - make test | tail
34
35script:
36 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
37 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
38
39notifications:
40 webhooks:
41 urls:
42 - https://webhooks.gitter.im/e/6123573504759330786b
43 on_success: change # options: [always|never|change] default: always
44 on_failure: never # options: [always|never|change] default: always
45 on_start: never # options: [always|never|change] default: always
46 on_cancel: never # options: [always|never|change] default: always
47 on_error: never # options: [always|never|change] default: always
48 email: false