blob: ebbd00311a9258757048371a325c9d3bbcc1729b [file] [log] [blame]
Martin Polreichef400202018-06-21 15:29:21 +02001language: python
2python:
3- "2.7.13"
Martin8191d6f0a82017-03-17 17:38:11 +01004sudo: required
Martin Polreicha3eacc42018-11-07 10:58:57 +01005services:
6 - docker
Martin8191d6f0a82017-03-17 17:38:11 +01007
Martin819e07d0a92017-03-28 11:37:58 +02008install:
Martin Polreicha3eacc42018-11-07 10:58:57 +01009 - pip install PyYAML
10 - pip install virtualenv
Martin8191d6f0a82017-03-17 17:38:11 +010011 - |
Martin Polreicha3eacc42018-11-07 10:58:57 +010012 if [ ! -e Gemfile ]; then
13 echo $PWD
14 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'
15 fi
16 - bundle install
Martin8191d6f0a82017-03-17 17:38:11 +010017
Martin819e07d0a92017-03-28 11:37:58 +020018env:
Martin Polreicha3eacc42018-11-07 10:58:57 +010019 - UBUNTU_DISTRO=xenial SALT_VERSION='2018.3.0' SUITE=iptables
20 - UBUNTU_DISTRO=xenial SALT_VERSION='2017.7.0' SUITE=iptables
21 # - UBUNTU_DISTRO=bionic SALT_VERSION='2018.3' SUITE=iptables
22 # - UBUNTU_DISTRO=bionic SALT_VERSION='2017.7' SUITE=iptables
Martin819e07d0a92017-03-28 11:37:58 +020023
Martin8191d6f0a82017-03-17 17:38:11 +010024before_script:
Martin819f7613e42017-03-28 09:40:12 +020025 - set -o pipefail
26 - make test | tail
Martin8191d6f0a82017-03-17 17:38:11 +010027
28script:
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010029 - test ! -e .kitchen.openstack.yml || bundle exec kitchen converge ${SUITE} || true
30 - test ! -e .kitchen.openstack.yml || bundle exec kitchen verify ${SUITE} -t tests/integration
Martin819fe6e7872017-03-28 10:17:00 +020031
32notifications:
Martin819e07d0a92017-03-28 11:37:58 +020033 on:
34 branch: master
Martin819fe6e7872017-03-28 10:17:00 +020035 webhooks:
36 urls:
37 - https://webhooks.gitter.im/e/6123573504759330786b
38 on_success: change # options: [always|never|change] default: always
Martin8194cbbe3b2017-03-28 12:50:56 +020039 on_failure: never # options: [always|never|change] default: always
Martin819fe6e7872017-03-28 10:17:00 +020040 on_start: never # options: [always|never|change] default: always
41 on_cancel: never # options: [always|never|change] default: always
Martin8194cbbe3b2017-03-28 12:50:56 +020042 on_error: never # options: [always|never|change] default: always
43 email: false