Files
parso/tox.ini
2019-08-08 14:56:27 +03:00

18 lines
481 B
INI

[tox]
envlist = {py27,py33,py34,py35,py36,py37}
[testenv]
extras = testing
deps =
py33: pytest>=3.0.7,<3.3
py27,py34: pytest<5
py33: setuptools<37
coverage: coverage
setenv =
# https://github.com/tomchristie/django-rest-framework/issues/1957
# tox corrupts __pycache__, solution from here:
PYTHONDONTWRITEBYTECODE=1
coverage: TOX_TESTENV_COMMAND=coverage run -m pytest
commands =
{env:TOX_TESTENV_COMMAND:pytest} {posargs}
coverage: coverage report