2017-10-02 09:08:39 +00:00
|
|
|
sudo: required
|
2020-04-30 19:56:02 +00:00
|
|
|
dist: trusty
|
2017-10-02 09:08:39 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
2018-11-07 21:42:41 +00:00
|
|
|
irc: "chat.freenode.net#mitogen-builds"
|
2017-10-02 09:08:39 +00:00
|
|
|
|
|
|
|
language: python
|
2018-04-17 16:35:19 +00:00
|
|
|
|
2019-06-03 17:05:40 +00:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- docs-master
|
|
|
|
|
2018-06-24 16:23:10 +00:00
|
|
|
cache:
|
|
|
|
- pip
|
|
|
|
- directories:
|
|
|
|
- /home/travis/virtualenv
|
2017-10-02 09:08:39 +00:00
|
|
|
|
2018-04-17 16:35:19 +00:00
|
|
|
install:
|
2019-06-04 00:34:42 +00:00
|
|
|
- grep -Erl git-lfs\|couchdb /etc/apt | sudo xargs rm -v
|
2018-11-06 13:47:09 +00:00
|
|
|
- .ci/${MODE}_install.py
|
2018-04-17 16:35:19 +00:00
|
|
|
|
|
|
|
script:
|
2019-07-25 10:50:55 +00:00
|
|
|
- .ci/spawn_reverse_shell.py
|
2018-11-06 13:47:09 +00:00
|
|
|
- .ci/${MODE}_tests.py
|
2018-04-17 16:35:19 +00:00
|
|
|
|
2018-08-12 13:01:04 +00:00
|
|
|
|
|
|
|
# To avoid matrix explosion, just test against oldest->newest and
|
|
|
|
# newest->oldest in various configuartions.
|
|
|
|
|
2018-06-23 23:33:46 +00:00
|
|
|
matrix:
|
2019-07-28 14:24:23 +00:00
|
|
|
allow_failures:
|
|
|
|
# Python 2.4 tests are still unreliable
|
|
|
|
- language: c
|
|
|
|
env: MODE=mitogen_py24 DISTRO=centos5
|
|
|
|
|
2018-06-23 23:33:46 +00:00
|
|
|
include:
|
2019-07-29 17:49:29 +00:00
|
|
|
# Debops tests.
|
2020-04-30 21:22:20 +00:00
|
|
|
# 2.9.6; 3.6 -> 2.7
|
2020-04-30 19:56:02 +00:00
|
|
|
- python: "3.6"
|
2020-03-27 05:08:17 +00:00
|
|
|
env: MODE=debops_common VER=2.9.6
|
2020-05-26 00:22:43 +00:00
|
|
|
# ~2.10; 3.6 -> 2.7
|
|
|
|
- python: "3.6"
|
2020-08-16 06:39:37 +00:00
|
|
|
env: MODE=debops_common VER: git+https://github.com/ansible/ansible.git@v2.10.0
|
2019-07-30 18:12:40 +00:00
|
|
|
# 2.8.3; 3.6 -> 2.7
|
2019-07-29 17:49:29 +00:00
|
|
|
- python: "3.6"
|
2019-07-30 18:12:40 +00:00
|
|
|
env: MODE=debops_common VER=2.8.3
|
2019-07-29 17:49:29 +00:00
|
|
|
# 2.4.6.0; 2.7 -> 2.7
|
|
|
|
- python: "2.7"
|
|
|
|
env: MODE=debops_common VER=2.4.6.0
|
|
|
|
|
|
|
|
# Sanity check against vanilla Ansible. One job suffices.
|
|
|
|
- python: "2.7"
|
2019-07-30 18:12:40 +00:00
|
|
|
env: MODE=ansible VER=2.8.3 DISTROS=debian STRATEGY=linear
|
2019-07-29 17:49:29 +00:00
|
|
|
|
|
|
|
# ansible_mitogen tests.
|
|
|
|
|
2020-05-26 00:22:43 +00:00
|
|
|
# ~2.10 -> {debian, centos6, centos7}
|
|
|
|
- python: "3.6"
|
2020-08-16 06:39:37 +00:00
|
|
|
env: MODE=ansible VER: git+https://github.com/ansible/ansible.git@v2.10.0
|
2020-03-27 05:08:17 +00:00
|
|
|
# 2.9.6 -> {debian, centos6, centos7}
|
2020-04-30 19:56:02 +00:00
|
|
|
- python: "3.6"
|
2020-03-27 05:08:17 +00:00
|
|
|
env: MODE=ansible VER=2.9.6
|
2019-07-30 18:12:40 +00:00
|
|
|
# 2.8.3 -> {debian, centos6, centos7}
|
2019-07-29 17:49:29 +00:00
|
|
|
- python: "3.6"
|
2019-07-30 18:12:40 +00:00
|
|
|
env: MODE=ansible VER=2.8.3
|
|
|
|
# 2.8.3 -> {debian, centos6, centos7}
|
2019-07-29 17:49:29 +00:00
|
|
|
- python: "2.7"
|
2019-07-30 18:12:40 +00:00
|
|
|
env: MODE=ansible VER=2.8.3
|
2019-07-29 18:08:21 +00:00
|
|
|
|
|
|
|
# 2.4.6.0 -> {debian, centos6, centos7}
|
|
|
|
- python: "3.6"
|
|
|
|
env: MODE=ansible VER=2.4.6.0
|
|
|
|
# 2.4.6.0 -> {debian, centos6, centos7}
|
2019-07-29 17:49:29 +00:00
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=ansible VER=2.4.6.0
|
|
|
|
|
|
|
|
# 2.3 -> {centos5}
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=ansible VER=2.3.3.0 DISTROS=centos5
|
|
|
|
|
2018-06-23 23:33:46 +00:00
|
|
|
# Mitogen tests.
|
2019-01-26 22:03:52 +00:00
|
|
|
# 2.4 -> 2.4
|
|
|
|
- language: c
|
|
|
|
env: MODE=mitogen_py24 DISTRO=centos5
|
2019-02-14 11:17:52 +00:00
|
|
|
# 2.7 -> 2.7 -- moved to Azure
|
2018-06-23 23:33:46 +00:00
|
|
|
# 2.7 -> 2.6
|
2019-01-27 04:44:24 +00:00
|
|
|
#- python: "2.7"
|
|
|
|
#env: MODE=mitogen DISTRO=centos6
|
2020-05-26 00:22:43 +00:00
|
|
|
- python: "3.6"
|
2020-08-16 06:39:37 +00:00
|
|
|
env: MODE=mitogen DISTRO=centos7 VER: git+https://github.com/ansible/ansible.git@v2.10.0
|
2020-04-30 19:56:02 +00:00
|
|
|
- python: "3.6"
|
2020-03-27 05:08:17 +00:00
|
|
|
env: MODE=mitogen DISTRO=centos7
|
2018-06-23 23:33:46 +00:00
|
|
|
# 2.6 -> 2.7
|
2018-07-05 00:10:00 +00:00
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=mitogen DISTRO=centos7
|
2018-11-07 00:14:10 +00:00
|
|
|
# 2.6 -> 3.5
|
|
|
|
- python: "2.6"
|
|
|
|
env: MODE=mitogen DISTRO=debian-py3
|
2019-02-14 11:17:52 +00:00
|
|
|
# 3.6 -> 2.6 -- moved to Azure
|