blob: 00108fcfee01f0fe4e0ef193c00d5c1d70ed654b [file] [log] [blame]
Martin Polreich8933a6c2017-04-11 14:55:08 +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 Polreich664b13c2018-02-16 14:58:16 +010020 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
21 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
22 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
23 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
24 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
25 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
26 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
27 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
28# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.6 GALERA_VER=3
29# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.6 GALERA_VER=3
30# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=master-cluster MYSQL_VER=5.7 GALERA_VER=3
31# - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-bionic-salt-2017.7 SUITE=slave-cluster MYSQL_VER=5.7 GALERA_VER=3
Martin Polreich8933a6c2017-04-11 14:55:08 +020032
33before_script:
34 - set -o pipefail
35 - make test | tail
36
37script:
Martin Polreichf21f1582018-01-05 13:05:47 +010038 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
39 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich8933a6c2017-04-11 14:55:08 +020040
41notifications:
42 webhooks:
43 urls:
44 - https://webhooks.gitter.im/e/6123573504759330786b
45 on_success: change # options: [always|never|change] default: always
46 on_failure: never # options: [always|never|change] default: always
47 on_start: never # options: [always|never|change] default: always
48 on_cancel: never # options: [always|never|change] default: always
49 on_error: never # options: [always|never|change] default: always
50 email: false