2014-02-18 03:14:41 +01:00
|
|
|
language: python
|
|
|
|
|
2015-05-20 21:49:45 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- deadsnakes
|
|
|
|
packages:
|
|
|
|
- python2.4
|
|
|
|
- python2.5
|
|
|
|
- python2.6
|
2017-11-23 17:18:16 +01:00
|
|
|
- python3.2
|
|
|
|
- python3.3
|
2015-05-20 21:49:45 +02:00
|
|
|
|
2017-05-03 17:44:46 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=flake8
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py24
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py25
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py26
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py27
|
2017-11-23 17:18:16 +01:00
|
|
|
- python: 2.7
|
2017-05-03 17:44:46 +02:00
|
|
|
env: TOXENV=py32
|
2017-11-23 17:18:16 +01:00
|
|
|
- python: 2.7
|
2017-05-03 17:44:46 +02:00
|
|
|
env: TOXENV=py33
|
|
|
|
- python: 3.4
|
|
|
|
env: TOXENV=py34
|
|
|
|
- python: 3.5
|
|
|
|
env: TOXENV=py35
|
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
|
|
|
- python: pypy
|
|
|
|
env: TOXENV=pypy
|
2014-02-18 03:14:41 +01:00
|
|
|
|
2017-11-23 17:18:16 +01:00
|
|
|
before_install:
|
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "py35") != 0 ]]; then pyenv global system 3.5; fi;
|
|
|
|
|
2014-04-17 17:25:21 +02:00
|
|
|
install:
|
2017-11-23 17:18:16 +01:00
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "py32") != 0 ]]; then pip install setuptools==17.1.1; fi;
|
2017-05-04 20:55:01 +02:00
|
|
|
- if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[12])") != 0 ]]; then pip install virtualenv==1.7.2 tox==1.3; fi;
|
2018-05-22 23:30:27 +02: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 03:14:41 +01:00
|
|
|
|
2014-04-17 17:25:21 +02:00
|
|
|
script:
|
2017-05-04 20:55:01 +02:00
|
|
|
- tox
|
2014-02-18 03:14:41 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- matt@sivel.net
|