blob: e8673db0a69ae4695e7b1fa152c533aa1b0f98d1 [file] [log] [blame]
[tox]
envlist = py27,py35,py36,py37,pypy,{py27,py35,py36,py37}-flake8,{py35,py36,py37}-mypy
skipsdist=True
[testenv]
deps =
pytest
pytest-cov
mock
hypothesis
requests
taskcluster
pyyaml
json-e
jsonschema
commands = pytest {posargs}
passenv =
HYPOTHESIS_PROFILE
PY_COLORS
TASKCLUSTER_ROOT_URL
[testenv:py27-flake8]
deps = -rrequirements_flake8.txt
commands = flake8 --append-config={toxinidir}/py27-flake8.ini {posargs}
[testenv:py35-flake8]
deps = -rrequirements_flake8.txt
commands = flake8 --append-config={toxinidir}/py36-flake8.ini {posargs}
[testenv:py36-flake8]
deps = -rrequirements_flake8.txt
commands = flake8 --append-config={toxinidir}/py36-flake8.ini {posargs}
[testenv:py37-flake8]
deps = -rrequirements_flake8.txt
commands = flake8 --append-config={toxinidir}/py36-flake8.ini {posargs}
[testenv:py35-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
[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
[testenv:py37-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