mitogen/.travis.yml

80 lines
2.0 KiB
YAML
Raw Normal View History

2017-10-02 09:08:39 +00:00
sudo: required
dist: trusty
2017-10-02 09:08:39 +00:00
notifications:
email: false
irc: "chat.freenode.net#mitogen-builds"
2017-10-02 09:08:39 +00:00
language: python
2019-06-03 17:05:40 +00:00
branches:
except:
- docs-master
cache:
- pip
- directories:
- /home/travis/virtualenv
2017-10-02 09:08:39 +00:00
install:
- grep -Erl git-lfs\|couchdb /etc/apt | sudo xargs rm -v
2020-09-08 01:21:58 +00:00
- pip install -U pip==20.2.1
- .ci/${MODE}_install.py
# Travis has a 4MB log limit (https://github.com/travis-ci/travis-ci/issues/1382), but verbose Mitogen logs run larger than that
# in order to keep verbosity to debug a build failure, will run with this workaround: https://stackoverflow.com/a/26082445
script:
- .ci/spawn_reverse_shell.py
- MODE=${MODE} .ci/travis.sh
# 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=2.10.0
# 2.10; 2.7 -> 2.7
- python: "2.7"
env: MODE=debops_common VER=2.10.0
# Sanity check against vanilla Ansible. One job suffices.
- python: "2.7"
env: MODE=ansible VER=2.10.0 DISTROS=debian STRATEGY=linear
# ansible_mitogen tests.
# 2.10 -> {debian, centos6, centos7}
- python: "3.6"
env: MODE=ansible VER=2.10.0
# 2.10 -> {debian, centos6, centos7}
- python: "2.7"
env: MODE=ansible VER=2.10.0
# 2.10 -> {debian, centos6, centos7}
2020-10-25 22:54:37 +00:00
# - python: "2.6"
# env: MODE=ansible VER=2.10.0
# 2.10 -> {centos5}
2020-10-25 22:54:37 +00:00
# - python: "2.6"
# env: MODE=ansible DISTROS=centos5 VER=2.10.0
# Mitogen tests.
2019-01-26 22:03:52 +00:00
# 2.4 -> 2.4
2020-10-25 22:54:37 +00:00
# - language: c
# env: MODE=mitogen_py24 DISTROS=centos5 VER=2.10.0
# 2.7 -> 2.7 -- moved to Azure
# 2.7 -> 2.6
2019-01-27 04:44:24 +00:00
#- python: "2.7"
#env: MODE=mitogen DISTRO=centos6
- python: "3.6"
env: MODE=mitogen DISTROS=centos7 VER=2.10.0
# 2.6 -> 2.7
2020-10-25 22:54:37 +00:00
# - python: "2.6"
# env: MODE=mitogen DISTROS=centos7 VER=2.10.0
2018-11-07 00:14:10 +00:00
# 2.6 -> 3.5
2020-10-25 22:54:37 +00:00
# - python: "2.6"
# env: MODE=mitogen DISTROS=debian-py3 VER=2.10.0
# 3.6 -> 2.6 -- moved to Azure