2013-11-01 22:34:18 +00:00
|
|
|
[tox]
|
|
|
|
envlist = py26, py27, py31, py32, py33
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
commands = python setup.py test
|
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
-r{toxinidir}/test_requirements.txt
|
2014-03-28 07:48:17 +00:00
|
|
|
whitelist_externals =
|
|
|
|
rm
|
|
|
|
2to3
|
2013-11-01 22:34:18 +00:00
|
|
|
|
|
|
|
[testenv:py26]
|
|
|
|
deps =
|
|
|
|
unittest2
|
|
|
|
mock
|
|
|
|
{[testenv]deps}
|
|
|
|
|
|
|
|
[testenv:py27]
|
|
|
|
deps =
|
|
|
|
mock
|
|
|
|
{[testenv]deps}
|
2014-03-27 13:31:20 +00:00
|
|
|
biopython
|
2013-11-01 22:34:18 +00:00
|
|
|
|
|
|
|
[testenv:py31]
|
2014-03-28 07:48:17 +00:00
|
|
|
changedir = {toxworkdir}
|
|
|
|
commands =
|
|
|
|
2to3 -n -W --output-dir {envtmpdir}/tests3 {toxinidir}/tests
|
|
|
|
{envpython} -m unittest2 discover {envtmpdir}/tests3
|
|
|
|
rm -rf {envtmpdir}/tests3
|
2013-11-01 22:34:18 +00:00
|
|
|
deps =
|
|
|
|
unittest2py3k
|
|
|
|
mock
|
|
|
|
{[testenv]deps}
|
|
|
|
|
|
|
|
[testenv:py32]
|
2014-03-28 07:48:17 +00:00
|
|
|
changedir = {toxworkdir}
|
|
|
|
commands =
|
|
|
|
2to3 -n -W --output-dir {envtmpdir}/tests3 {toxinidir}/tests
|
|
|
|
{envpython} -m unittest discover {envtmpdir}/tests3
|
|
|
|
rm -rf {envtmpdir}/tests3
|
2013-11-01 22:34:18 +00:00
|
|
|
deps =
|
|
|
|
mock
|
|
|
|
{[testenv]deps}
|
2014-03-27 13:31:20 +00:00
|
|
|
|
|
|
|
[testenv:py33]
|
2014-03-28 07:48:17 +00:00
|
|
|
changedir = {toxworkdir}
|
|
|
|
commands =
|
|
|
|
2to3 -n -W --output-dir {envtmpdir}/tests3 {toxinidir}/tests
|
|
|
|
{envpython} -m unittest discover {envtmpdir}/tests3
|
|
|
|
rm -rf {envtmpdir}/tests3
|
2014-03-27 13:31:20 +00:00
|
|
|
deps =
|
|
|
|
{[testenv]deps}
|
|
|
|
biopython
|