Files
jedi/tox.ini
2014-12-17 14:01:00 +01:00

32 lines
737 B
INI

[tox]
envlist = py26, py27, py32, py33, py34
[testenv]
deps =
pytest>=2.3.5
pytest-cache
# docopt for sith doctests
docopt
# coloroma for colored debug output
colorama
setenv =
# https://github.com/tomchristie/django-rest-framework/issues/1957
# tox corrupts __pycache__, solution from here:
PYTHONDONTWRITEBYTECODE=1
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}