Martin Polreich | 21f2314 | 2017-05-16 11:03:46 +0200 | [diff] [blame] | 1 | sudo: required |
| 2 | services: |
| 3 | - docker |
| 4 | |
| 5 | install: |
| 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 | |
| 19 | env: |
Martin Polreich | 12bad86 | 2018-02-16 12:57:03 +0100 | [diff] [blame] | 20 | - 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 Polreich | 41ee69c | 2018-03-05 13:17:02 +0100 | [diff] [blame] | 22 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-rsync_backup_times |
Martin Polreich | 12bad86 | 2018-02-16 12:57:03 +0100 | [diff] [blame] | 23 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-s3 |
Martin Polreich | 41ee69c | 2018-03-05 13:17:02 +0100 | [diff] [blame] | 24 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=client-s3_disabled_auto |
Martin Polreich | 12bad86 | 2018-02-16 12:57:03 +0100 | [diff] [blame] | 25 | - 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 Polreich | 41ee69c | 2018-03-05 13:17:02 +0100 | [diff] [blame] | 28 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-rsync_backup_times |
Martin Polreich | 12bad86 | 2018-02-16 12:57:03 +0100 | [diff] [blame] | 29 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-s3 |
Martin Polreich | 41ee69c | 2018-03-05 13:17:02 +0100 | [diff] [blame] | 30 | - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=client-s3_disabled_auto |
Martin Polreich | 12bad86 | 2018-02-16 12:57:03 +0100 | [diff] [blame] | 31 | - 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 Polreich | 41ee69c | 2018-03-05 13:17:02 +0100 | [diff] [blame] | 34 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-rsync_backup_times |
Martin Polreich | 12bad86 | 2018-02-16 12:57:03 +0100 | [diff] [blame] | 35 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-s3 |
Martin Polreich | 41ee69c | 2018-03-05 13:17:02 +0100 | [diff] [blame] | 36 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-s3_disabled_auto |
Martin Polreich | 12bad86 | 2018-02-16 12:57:03 +0100 | [diff] [blame] | 37 | # - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=client-webdav |
Martin Polreich | 21f2314 | 2017-05-16 11:03:46 +0200 | [diff] [blame] | 38 | |
| 39 | before_script: |
| 40 | - set -o pipefail |
| 41 | - make test | tail |
| 42 | |
| 43 | script: |
Martin Polreich | a73924a | 2018-01-05 12:43:46 +0100 | [diff] [blame] | 44 | - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true |
| 45 | - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration |
Martin Polreich | 21f2314 | 2017-05-16 11:03:46 +0200 | [diff] [blame] | 46 | |
| 47 | notifications: |
| 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 |