blob: 2d793e6fd83fec9ea93db3fa2298c1798dc7acf1 [file] [log] [blame]
Martin Polreich5d448b92017-03-30 11:29:47 +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 Polreicha122a3e2018-01-05 13:26:47 +010020 - PLATFORM=trevorj/salty-whales:trusty SUITE=horizon-no-ssl
21 - PLATFORM=trevorj/salty-whales:xenial SUITE=horizon-no-ssl
22 - PLATFORM=trevorj/salty-whales:trusty SUITE=horizon-with-ssl
23 - PLATFORM=trevorj/salty-whales:xenial SUITE=horizon-with-ssl
Martin Polreichccc7cf82017-07-17 16:47:33 +020024 - PLATFORM=trevorj/salty-whales:trusty SUITE=proxy
25 - PLATFORM=trevorj/salty-whales:xenial SUITE=proxy
26 - PLATFORM=trevorj/salty-whales:trusty SUITE=redirect
27 - PLATFORM=trevorj/salty-whales:xenial SUITE=redirect
28 - PLATFORM=trevorj/salty-whales:trusty SUITE=static
29 - PLATFORM=trevorj/salty-whales:xenial SUITE=static
30 - PLATFORM=trevorj/salty-whales:trusty SUITE=stats
31 - PLATFORM=trevorj/salty-whales:xenial SUITE=stats
Martin Polreich5d448b92017-03-30 11:29:47 +020032
33before_script:
34 - set -o pipefail
35 - make test | tail
36
37script:
Martin Polreicha122a3e2018-01-05 13:26: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 Polreich5d448b92017-03-30 11:29:47 +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