mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-16 01:17:13 +08:00
20 lines
458 B
INI
20 lines
458 B
INI
[tox]
|
|
envlist = py27, py33, py34, py35, py36, py37, pypy
|
|
[testenv]
|
|
extras = testing
|
|
deps =
|
|
py26,py33: pytest>=3.0.7,<3.3
|
|
py26,py33: setuptools<37
|
|
setenv =
|
|
# https://github.com/tomchristie/django-rest-framework/issues/1957
|
|
# tox corrupts __pycache__, solution from here:
|
|
PYTHONDONTWRITEBYTECODE=1
|
|
commands =
|
|
pytest {posargs:parso test}
|
|
[testenv:cov]
|
|
deps =
|
|
coverage
|
|
commands =
|
|
coverage run --source parso -m pytest
|
|
coverage report
|