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-06-24 16:23:10 +00:00
|
|
|
cache:
|
|
|
|
- pip
|
|
|
|
- directories:
|
|
|
|
- /home/travis/virtualenv
|
2017-10-02 09:08:39 +00:00
|
|
|
|
2018-06-23 23:33:46 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# Mitogen tests.
|
|
|
|
# 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=mitogen DISTRO=debian
|
|
|
|
# 2.7 -> 2.6
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=mitogen DISTRO=centos6
|
|
|
|
# 2.6 -> 2.7
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=mitogen DISTRO=centos7
|
|
|
|
# 2.6 -> 2.6
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=mitogen DISTRO=centos6
|
|
|
|
|
|
|
|
# Debops tests.
|
|
|
|
# 2.4.3.0; 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=debops_common VER=2.4.3.0
|
|
|
|
# 2.5.5; 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=debops_common VER=2.5.5
|
|
|
|
|
|
|
|
# ansible_mitogen tests.
|
|
|
|
# 2.4.3.0; Debian; 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=ansible VER=2.4.3.0 DISTRO=debian
|
|
|
|
# 2.5.5; Debian; 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=ansible VER=2.5.5 DISTRO=debian
|
|
|
|
# 2.5.5; CentOS; 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=ansible VER=2.5.5 DISTRO=centos7
|
|
|
|
# 2.5.5; CentOS; 2.7 -> 2.6
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=ansible VER=2.5.5 DISTRO=centos6
|
|
|
|
# 2.5.5; CentOS; 2.6 -> 2.7
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=ansible VER=2.5.5 DISTRO=centos7
|
|
|
|
# 2.5.5; CentOS; 2.6 -> 2.6
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=ansible VER=2.5.5 DISTRO=centos6
|
|
|
|
|
|
|
|
# Sanity check our tests against vanilla Ansible, they should pass.
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=ansible VER=2.5.5 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
|