fuzzysearch/tox.ini

52 lines
1.1 KiB
INI
Raw Normal View History

2013-11-01 22:34:18 +00:00
[tox]
2015-01-31 18:29:15 +00:00
envlist = py26, py27, py32, py33, py34
2013-11-01 22:34:18 +00:00
[testenv]
2014-04-18 23:28:37 +00:00
; setenv =
; ; The following two flags are a workaround for an issue with building
; ; Python extensions on OSX with xcode 5.1.
; ; See: http://stackoverflow.com/questions/22313407/
2014-04-18 23:19:43 +00:00
; CFLAGS=-Qunused-arguments
; CPPFLAGS=-Qunused-arguments
2013-11-01 22:34:18 +00:00
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test_requirements.txt
2014-04-22 16:04:38 +00:00
coverage
whitelist_externals =
make
commands =
2014-04-18 22:52:25 +00:00
# run tests both with and without the C extensions (including Cython)
2014-04-18 23:34:32 +00:00
{envpython} setup.py --quiet build_ext --inplace
2014-04-22 16:04:38 +00:00
{envbindir}/coverage run -m nose2 --no-user-config tests
make clean-build-ext-inplace
2014-04-22 16:04:38 +00:00
{envbindir}/coverage run -m nose2 --no-user-config tests
2014-04-18 22:52:25 +00:00
[testenv:py26]
2013-11-01 22:34:18 +00:00
deps =
unittest2
mock
; workaround for the broken argparse requirement by nose2
-r{toxinidir}/test_requirements_py26.txt
2013-11-01 22:34:18 +00:00
{[testenv]deps}
[testenv:py27]
deps =
mock
{[testenv]deps}
biopython
2013-11-01 22:34:18 +00:00
[testenv:py32]
deps =
mock
{[testenv]deps}
[testenv:py33]
deps =
{[testenv]deps}
biopython
[testenv:py34]
deps =
{[testenv]deps}
biopython