Files
jedi/tox.ini
2014-07-17 18:35:31 +09:00

27 lines
566 B
INI

[tox]
envlist = py26, py27, py32, py33, py34
[testenv]
deps =
pytest>=2.3.5
# 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}