blob: fa1693990cbee55b5eda01005b1a29b293bcbb9b [file] [log] [blame]
Martin Polreich0cd0eee2018-06-21 15:27:09 +02001language: python
2python:
3- "2.7.13"
Martin Polreich21f23142017-05-16 11:03:46 +02004sudo: required
5services:
6 - docker
7
8install:
9 - pip install PyYAML
10 - pip install virtualenv
11 - |
Martin Polreich4bd66af2018-11-07 14:37:33 +010012 if [ ! -e Gemfile ]; then
13 curl -s -o ./Gemfile https://raw.githubusercontent.com/salt-formulas/salt-formulas-scripts/master/Gemfile
14 fi
Martin Polreich21f23142017-05-16 11:03:46 +020015 - bundle install
16
17env:
Martin Polreichef70a882018-04-06 10:48:32 +020018 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server-rdiff
19 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-rsync
20 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-s3
21 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-webdav
22 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server-rdiff
23 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-rsync
24 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-rsync-backup-times
25 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-s3
26 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-s3-disabled-auto
27 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-webdav
28 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=server-rdiff
29 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=client-rsync
30 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=client-rsync-backup-times
31 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=client-s3
32 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=client-s3-disabled-auto
33 - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=client-webdav
34# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=server-rdiff
35# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-rsync
36# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-s3
37# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-webdav
38# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=server-rdiff
39# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=client-rsync
40# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=client-rsync-backup-times
41# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=client-s3
42# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=client-s3-disabled-auto
43# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=client-webdav
Martin Polreich21f23142017-05-16 11:03:46 +020044
45before_script:
46 - set -o pipefail
47 - make test | tail
48
49script:
Martin Polreicha73924a2018-01-05 12:43:46 +010050 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
51 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich21f23142017-05-16 11:03:46 +020052
53notifications:
54 webhooks:
55 urls:
56 - https://webhooks.gitter.im/e/6123573504759330786b
57 on_success: change # options: [always|never|change] default: always
58 on_failure: never # options: [always|never|change] default: always
59 on_start: never # options: [always|never|change] default: always
60 on_cancel: never # options: [always|never|change] default: always
61 on_error: never # options: [always|never|change] default: always
62 email: false