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.
pull/98/head
Martin Zimmermann 10 years ago
parent 94ee6a6981
commit 8c6a7e209e

@ -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

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

Loading…
Cancel
Save