mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
27 lines
602 B
INI
27 lines
602 B
INI
[tox]
|
|
envlist = py26, py27, py32, py33
|
|
[testenv]
|
|
deps =
|
|
https://bitbucket.org/hpk42/pytest/get/c4f58165e0d4.zip
|
|
# docopt for sith doctests
|
|
docopt
|
|
# coloroma for colored debug output
|
|
colorama
|
|
commands =
|
|
py.test []
|
|
[testenv:py26]
|
|
deps =
|
|
unittest2
|
|
{[testenv]deps}
|
|
[testenv:cov]
|
|
deps =
|
|
coverage
|
|
{[testenv]deps}
|
|
commands =
|
|
coverage run --source jedi -m py.test
|
|
coverage report
|
|
[testenv:sith]
|
|
commands =
|
|
{envpython} -c "import os; a='{envtmpdir}'; os.path.exists(a) or os.makedirs(a)"
|
|
{envpython} sith.py --record {envtmpdir}/record.json random {posargs:jedi}
|