blob: 20b5d2c1f6c785fd01112546bc4878e37865f00b [file] [log] [blame]
Martin Polreich21f23142017-05-16 11:03:46 +02001sudo: required
2services:
3 - docker
4
5install:
6 - pip install PyYAML
7 - pip install virtualenv
8 - |
9 test -e Gemfile || cat <<EOF > Gemfile
10 source 'https://rubygems.org'
11 gem 'rake'
12 gem 'test-kitchen'
13 gem 'kitchen-docker'
14 gem 'kitchen-inspec'
15 gem 'inspec'
16 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
17 - bundle install
18
19env:
Martin Polreich12bad862018-02-16 12:57:03 +010020 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server-rdiff
21 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-rsync
Martin Polreich41ee69c2018-03-05 13:17:02 +010022 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-rsync_backup_times
Martin Polreich12bad862018-02-16 12:57:03 +010023 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-s3
Martin Polreich41ee69c2018-03-05 13:17:02 +010024 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-s3_disabled_auto
Martin Polreich12bad862018-02-16 12:57:03 +010025 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-webdav
26 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server-rdiff
27 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-rsync
Martin Polreich41ee69c2018-03-05 13:17:02 +010028 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-rsync_backup_times
Martin Polreich12bad862018-02-16 12:57:03 +010029 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-s3
Martin Polreich41ee69c2018-03-05 13:17:02 +010030 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-s3_disabled_auto
Martin Polreich12bad862018-02-16 12:57:03 +010031 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-webdav
32# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=server-rdiff
33# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-rsync
Martin Polreich41ee69c2018-03-05 13:17:02 +010034# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-rsync_backup_times
Martin Polreich12bad862018-02-16 12:57:03 +010035# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-s3
Martin Polreich41ee69c2018-03-05 13:17:02 +010036# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-s3_disabled_auto
Martin Polreich12bad862018-02-16 12:57:03 +010037# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-webdav
Martin Polreich21f23142017-05-16 11:03:46 +020038
39before_script:
40 - set -o pipefail
41 - make test | tail
42
43script:
Martin Polreicha73924a2018-01-05 12:43:46 +010044 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
45 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich21f23142017-05-16 11:03:46 +020046
47notifications:
48 webhooks:
49 urls:
50 - https://webhooks.gitter.im/e/6123573504759330786b
51 on_success: change # options: [always|never|change] default: always
52 on_failure: never # options: [always|never|change] default: always
53 on_start: never # options: [always|never|change] default: always
54 on_cancel: never # options: [always|never|change] default: always
55 on_error: never # options: [always|never|change] default: always
56 email: false