blob: 8932304af75b96c14b5ee0f6a970dbb4817f85d2 [file] [log] [blame]
[tox]
envlist =
py{37,36,35,27,py3,py}
docs-html
coverage
skip_missing_interpreters = true
[testenv]
deps =
coverage
pytest
commands = coverage run -p -m pytest --tb=short -Werror --basetemp={envtmpdir} {posargs}
[testenv:docs-html]
deps =
Sphinx
Pallets-Sphinx-Themes
sphinx-issues
commands = sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[testenv:coverage]
deps = coverage
skip_install = true
commands =
coverage combine
coverage html
coverage report
[testenv:coverage-ci]
deps = coverage
skip_install = true
commands =
coverage combine
# Ignoring errors because 2.7.15 and 3.5.5 on Azure can't parse async files.
coverage xml --ignore-errors