mirror of
https://github.com/servo/servo.git
synced 2025-07-12 01:43:43 +01:00
30 lines
768 B
INI
30 lines
768 B
INI
[tox]
|
|
envlist = py27,py36,pypy,{py27,py36}-flake8,py36-mypy
|
|
skipsdist=True
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
pytest-cov
|
|
mock
|
|
hypothesis
|
|
|
|
commands = pytest {posargs}
|
|
|
|
passenv =
|
|
HYPOTHESIS_PROFILE
|
|
|
|
[testenv:py27-flake8]
|
|
deps = -rrequirements_flake8.txt
|
|
commands = flake8 --append-config={toxinidir}/py27-flake8.ini {posargs}
|
|
|
|
[testenv:py36-flake8]
|
|
deps = -rrequirements_flake8.txt
|
|
commands = flake8 --append-config={toxinidir}/py36-flake8.ini {posargs}
|
|
|
|
[testenv:py36-mypy]
|
|
deps = -rrequirements_mypy.txt
|
|
changedir = {toxinidir}/..
|
|
commands =
|
|
mypy --config-file={toxinidir}/mypy.ini --no-incremental --py2 -p tools.manifest -p tools.lint -p tools.gitignore
|
|
mypy --config-file={toxinidir}/mypy.ini --no-incremental -p tools.manifest -p tools.lint -p tools.gitignore
|