diff --git a/.travis.yml b/.travis.yml index 6b87907..7a39e29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,11 @@ env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - - TOX_ENV=backport + - TOX_ENV=squeeze + - TOX_ENV=wheezy matrix: allow_failures: - - env: TOX_ENV=backport + - env: TOX_ENV=squeeze install: - pip install tox - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm diff --git a/tox.ini b/tox.ini index 55cf244..bfb9a38 100755 --- a/tox.ini +++ b/tox.ini @@ -1,28 +1,40 @@ [tox] -envlist = py26,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} +envlist = py27,py33,py34 + [testenv] deps = nose commands = 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}