Martin Polreich | 0cd0eee | 2018-06-21 15:27:09 +0200 | [diff] [blame] | 1 | language: python |
| 2 | python: |
| 3 | - "2.7.13" |
Martin Polreich | 21f2314 | 2017-05-16 11:03:46 +0200 | [diff] [blame] | 4 | sudo: required |
| 5 | services: |
| 6 | - docker |
| 7 | |
| 8 | install: |
| 9 | - pip install PyYAML |
| 10 | - pip install virtualenv |
| 11 | - | |
Martin Polreich | 4bd66af | 2018-11-07 14:37:33 +0100 | [diff] [blame] | 12 | if [ ! -e Gemfile ]; then |
Martin Polreich | 47213e3 | 2018-11-07 17:17:58 +0100 | [diff] [blame] | 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' |
Martin Polreich | 4bd66af | 2018-11-07 14:37:33 +0100 | [diff] [blame] | 14 | fi |
Martin Polreich | 21f2314 | 2017-05-16 11:03:46 +0200 | [diff] [blame] | 15 | - bundle install |
| 16 | |
| 17 | env: |
Martin Polreich | c9562a8 | 2018-11-20 15:06:54 +0100 | [diff] [blame^] | 18 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=server-rdiff |
| 19 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=client-rsync |
| 20 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=client-s3 |
| 21 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=client-webdav |
| 22 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=server-rdiff |
| 23 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=client-rsync |
| 24 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=client-rsync-backup-times |
| 25 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=client-s3 |
| 26 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=client-s3-disabled-auto |
| 27 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=client-webdav |
| 28 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=server-rdiff |
| 29 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=client-rsync |
| 30 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=client-rsync-backup-times |
| 31 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=client-s3 |
| 32 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=client-s3-disabled-auto |
| 33 | - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=client-webdav |
Martin Polreich | 21f2314 | 2017-05-16 11:03:46 +0200 | [diff] [blame] | 34 | |
| 35 | before_script: |
| 36 | - set -o pipefail |
| 37 | - make test | tail |
| 38 | |
| 39 | script: |
Martin Polreich | a73924a | 2018-01-05 12:43:46 +0100 | [diff] [blame] | 40 | - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true |
| 41 | - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration |
Martin Polreich | 21f2314 | 2017-05-16 11:03:46 +0200 | [diff] [blame] | 42 | |
| 43 | notifications: |
| 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 |