|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
irc: "chat.freenode.net#mitogen-builds"
|
|
|
|
|
|
|
|
language: python
|
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- docs-master
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- pip
|
|
|
|
- directories:
|
|
|
|
- /home/travis/virtualenv
|
|
|
|
|
|
|
|
install:
|
|
|
|
- grep -Erl git-lfs\|couchdb /etc/apt | sudo xargs rm -v
|
|
|
|
- pip install -U pip==20.2.1
|
|
|
|
- .ci/${MODE}_install.py
|
|
|
|
|
|
|
|
script:
|
|
|
|
- .ci/spawn_reverse_shell.py
|
|
|
|
- .ci/${MODE}_tests.py
|
|
|
|
|
|
|
|
|
|
|
|
# To avoid matrix explosion, just test against oldest->newest and
|
|
|
|
# newest->oldest in various configuartions.
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# Debops tests.
|
|
|
|
# 2.10; 3.6 -> 2.7
|
|
|
|
- python: "3.6"
|
|
|
|
env: MODE=debops_common VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
# 2.10; 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=debops_common VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
|
|
|
|
# Sanity check against vanilla Ansible. One job suffices.
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=ansible VER=git+https://github.com/ansible/ansible.git@v2.10.0 DISTROS=debian STRATEGY=linear
|
|
|
|
|
|
|
|
# ansible_mitogen tests.
|
|
|
|
|
|
|
|
# 2.10 -> {debian, centos6, centos7}
|
|
|
|
- python: "3.6"
|
|
|
|
env: MODE=ansible VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
# 2.10 -> {debian, centos6, centos7}
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=ansible VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
# 2.10 -> {debian, centos6, centos7}
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=ansible VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
|
|
|
|
# 2.10 -> {centos5}
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=ansible DISTROS=centos5 VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
|
|
|
|
# Mitogen tests.
|
|
|
|
# 2.4 -> 2.4
|
|
|
|
- language: c
|
|
|
|
env: MODE=mitogen_py24 DISTROS=centos5 VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
# 2.7 -> 2.7 -- moved to Azure
|
|
|
|
# 2.7 -> 2.6
|
|
|
|
#- python: "2.7"
|
|
|
|
#env: MODE=mitogen DISTRO=centos6
|
|
|
|
- python: "3.6"
|
|
|
|
env: MODE=mitogen DISTROS=centos7 VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
# 2.6 -> 2.7
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=mitogen DISTROS=centos7 VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
# 2.6 -> 3.5
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=mitogen DISTROS=debian-py3 VER=git+https://github.com/ansible/ansible.git@v2.10.0
|
|
|
|
# 3.6 -> 2.6 -- moved to Azure
|