blob: 16411a7ca9e68dfae591e80c1711f12b9b08ab30 [file] [log] [blame]
Martin Polreich647852c2018-06-21 15:32:08 +02001language: python
2python:
3- "2.7.13"
Petr Ruzickaba0a49d2018-01-31 22:16:20 +01004sudo: required
5services:
6 - docker
7
8addons:
9 apt:
10 packages:
11 - apt-transport-https
12
13install:
14 - pip install PyYAML
15 - pip install virtualenv
16 - |
17 test -e Gemfile || cat <<EOF > Gemfile
18 source 'https://rubygems.org'
19 gem 'rake'
20 gem 'test-kitchen'
21 gem 'kitchen-docker'
22 gem 'kitchen-inspec'
23 gem 'inspec'
24 gem 'kitchen-salt', :git => 'https://github.com/salt-formulas/kitchen-salt.git'
25 - bundle install
26
27env:
azvyagintsev8731ac42018-04-30 14:03:00 +030028 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server_kernel_module
29 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server
30 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server_kernel_module
31 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server
32#
33 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server_kernel_module
34 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2016.3 SUITE=server
35 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server_kernel_module
36 - PLATFORM=epcim/salt-formulas:saltstack-ubuntu-xenial-salt-2017.7 SUITE=server
Petr Ruzickaba0a49d2018-01-31 22:16:20 +010037
38before_script:
39 - set -o pipefail
40 - make test | tail
41
42script:
43 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
44 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
45
46notifications:
47 webhooks:
48 urls:
49 - https://webhooks.gitter.im/e/6123573504759330786b
50 on_success: change # options: [always|never|change] default: always
51 on_failure: never # options: [always|never|change] default: always
52 on_start: never # options: [always|never|change] default: always
53 on_cancel: never # options: [always|never|change] default: always
54 on_error: never # options: [always|never|change] default: always
55 email: false