fuzzysearch/tox.ini

55 lines
1.1 KiB
INI
Raw Normal View History

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
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}
biopython
2013-11-01 22:34:18 +00:00
[testenv:py31]
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]
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}
[testenv:py33]
changedir = {toxworkdir}
commands =
2to3 -n -W --output-dir {envtmpdir}/tests3 {toxinidir}/tests
{envpython} -m unittest discover {envtmpdir}/tests3
rm -rf {envtmpdir}/tests3
deps =
{[testenv]deps}
biopython