blob: c5be6c58f0387adce8a907d046655b9a8bf471a6 [file] [log] [blame]
Martin Polreich8044a652017-08-29 14:28:59 +02001sudo: required
2services:
3 - docker
4
5install:
6 - pip install PyYAML
7 - pip install virtualenv
8 - |
Martin Polreich42dc3222018-11-07 14:42:59 +01009 if [ ! -e Gemfile ]; then
10 curl -s -o ./Gemfile 'https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas/salt-formulas-scripts.git;a=blob_plain;f=Gemfile;hb=refs/heads/master'
11 fi
Martin Polreich8044a652017-08-29 14:28:59 +020012 - bundle install
13
14env:
Martin Polreich78a5ea22018-11-20 15:08:16 +010015 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2016.3/salt:2018_11_19 SUITE=single
16 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-2017.7/salt:2018_11_19 SUITE=single
17 - PLATFORM=docker-dev-local.docker.mirantis.net/epcim/salt/saltstack-ubuntu-xenial-salt-stable/salt:2018_11_19 SUITE=single
Martin Polreich56feb352018-04-18 10:47:45 +020018
Martin Polreich8044a652017-08-29 14:28:59 +020019before_script:
20 - set -o pipefail
21 - make test | tail
22
23script:
Martin Polreichedfc1212018-01-05 13:08:53 +010024 - test ! -e .kitchen.yml || bundle exec kitchen converge ${SUITE} || true
25 - test ! -e .kitchen.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin Polreich8044a652017-08-29 14:28:59 +020026
27notifications:
28 webhooks:
29 urls:
30 - https://webhooks.gitter.im/e/6123573504759330786b
31 on_success: change # options: [always|never|change] default: always
32 on_failure: never # options: [always|never|change] default: always
33 on_start: never # options: [always|never|change] default: always
34 on_cancel: never # options: [always|never|change] default: always
35 on_error: never # options: [always|never|change] default: always
36 email: false