2017-10-02 09:08:39 +00:00
|
|
|
sudo: required
|
2018-05-11 17:15:43 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
2017-10-02 09:08:39 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
language: python
|
2018-04-01 01:05:36 +00:00
|
|
|
cache: pip
|
2017-10-02 09:08:39 +00:00
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
|
2018-04-04 10:00:24 +00:00
|
|
|
env:
|
2018-05-06 08:19:01 +00:00
|
|
|
- MODE=mitogen DISTRO=debian
|
|
|
|
- MODE=mitogen DISTRO=centos
|
|
|
|
- MODE=debops_common VER=2.4.3.0
|
|
|
|
- MODE=debops_common VER=2.5.1
|
|
|
|
# Ansible tests.
|
|
|
|
- MODE=ansible VER=2.4.3.0 DISTRO=debian
|
|
|
|
- MODE=ansible VER=2.5.1 DISTRO=centos
|
|
|
|
- MODE=ansible VER=2.5.1 DISTRO=debian
|
|
|
|
# Sanity check our tests against vanilla Ansible, they should still pass.
|
|
|
|
- MODE=ansible VER=2.5.1 DISTRO=debian STRATEGY=linear
|
2018-04-04 10:00:24 +00:00
|
|
|
|
2017-10-02 09:08:39 +00:00
|
|
|
install:
|
|
|
|
- pip install -r dev_requirements.txt
|
|
|
|
|
|
|
|
script:
|
2018-04-04 10:00:24 +00:00
|
|
|
- ${TRAVIS_BUILD_DIR}/.travis/${MODE}_tests.sh
|
2017-10-02 09:08:39 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|