pin versions for Squeeze and Wheezy, also remove py26 from default run

Python2.6 is EOL and my distributions is about to remove it. Travis CI
uses Ubuntu 12.04 LTS and can still test Python2.6 for at least three
years.
This commit is contained in:
Martin Zimmermann 2014-05-28 10:12:01 +02:00
parent 94ee6a6981
commit 8c6a7e209e
2 changed files with 37 additions and 24 deletions

View File

@ -5,10 +5,11 @@ env:
- TOX_ENV=py27 - TOX_ENV=py27
- TOX_ENV=py33 - TOX_ENV=py33
- TOX_ENV=py34 - TOX_ENV=py34
- TOX_ENV=backport - TOX_ENV=squeeze
- TOX_ENV=wheezy
matrix: matrix:
allow_failures: allow_failures:
- env: TOX_ENV=backport - env: TOX_ENV=squeeze
install: install:
- pip install tox - pip install tox
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm

56
tox.ini
View File

@ -1,28 +1,40 @@
[tox] [tox]
envlist = py26,py27,py33,py34 envlist = py27,py33,py34
[testenv:py26]
deps =
argparse
configparser
unittest2
{[testenv]deps}
[testenv:py27]
deps =
configparser
{[testenv]deps}
[testenv:backport]
deps =
configparser
werkzeug==0.8.3
html5lib==0.95
itsdangerous==0.22
ipaddr==2.1.10
misaka==1.0.2
{[testenv]deps}
[testenv] [testenv]
deps = deps =
nose nose
commands = commands =
python setup.py nosetests python setup.py nosetests
install_command =
pip install --allow-external ipaddr --allow-unverified ipaddr {opts} {packages} [testenv:py26]
deps =
argparse
unittest2
configparser
{[testenv]deps}
[testenv:py27]
deps =
configparser
{[testenv]deps}
[testenv:debian]
deps=
werkzeug==0.8.3
html5lib==0.95
itsdangerous==0.22
ipaddr==2.1.10
misaka==1.0.2
[testenv:squeeze]
basepython=python2.6
deps=
{[testenv:py26]deps}
{[testenv:debian]deps}
[testenv:wheezy]
basepython=python2.7
deps =
{[testenv:py27]deps}
{[testenv:debian]deps}