2014-02-18 10:14:41 +08:00
|
|
|
language: python
|
2019-03-14 04:56:00 +08:00
|
|
|
sudo: required
|
|
|
|
dist: xenial
|
2014-02-18 10:14:41 +08:00
|
|
|
|
2015-05-21 03:49:45 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- deadsnakes
|
|
|
|
packages:
|
2019-03-13 00:01:31 +08:00
|
|
|
- python2.4
|
|
|
|
- python2.5
|
2015-05-21 03:49:45 +08:00
|
|
|
- python2.6
|
2017-11-24 00:18:16 +08:00
|
|
|
- python3.2
|
|
|
|
- python3.3
|
2015-05-21 03:49:45 +08:00
|
|
|
|
2017-05-03 23:44:46 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=flake8
|
2019-03-13 00:01:31 +08:00
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py24
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py25
|
2017-05-03 23:44:46 +08:00
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py26
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py27
|
2017-11-24 00:18:16 +08:00
|
|
|
- python: 2.7
|
2017-05-03 23:44:46 +08:00
|
|
|
env: TOXENV=py32
|
2017-11-24 00:18:16 +08:00
|
|
|
- python: 2.7
|
2017-05-03 23:44:46 +08:00
|
|
|
env: TOXENV=py33
|
|
|
|
- python: 3.4
|
|
|
|
env: TOXENV=py34
|
|
|
|
- python: 3.5
|
|
|
|
env: TOXENV=py35
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
2019-03-14 04:56:00 +08:00
|
|
|
- python: 3.7
|
|
|
|
env: TOXENV=py37
|
|
|
|
- python: 3.8-dev
|
|
|
|
env: TOXENV=py38
|
2017-05-03 23:44:46 +08:00
|
|
|
- python: pypy
|
|
|
|
env: TOXENV=pypy
|
2019-03-14 04:56:00 +08:00
|
|
|
dist: trusty
|
2014-02-18 10:14:41 +08:00
|
|
|
|
2017-11-24 00:18:16 +08:00
|
|
|
before_install:
|
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "py35") != 0 ]]; then pyenv global system 3.5; fi;
|
|
|
|
|
2014-04-17 23:25:21 +08:00
|
|
|
install:
|
2017-11-24 00:18:16 +08:00
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "py32") != 0 ]]; then pip install setuptools==17.1.1; fi;
|
2017-05-05 02:55:01 +08:00
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[12])") != 0 ]]; then pip install virtualenv==1.7.2 tox==1.3; fi;
|
2018-05-23 05:30:27 +08:00
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "(py26|py33)") != 0 ]]; then pip install virtualenv==15.2.0 tox==2.9.1; fi;
|
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "(py2[456]|py3[123])") == 0 ]]; then pip install tox; fi;
|
|
|
|
|
|
|
|
|
2014-02-18 10:14:41 +08:00
|
|
|
|
2014-04-17 23:25:21 +08:00
|
|
|
script:
|
2017-05-05 02:55:01 +08:00
|
|
|
- tox
|
2014-02-18 10:14:41 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- matt@sivel.net
|