blob: c98f2f692861bd1c6bae2e3bcf5ee545ac0a4206 [file] [log] [blame]
[tox]
envlist = check-manifest,docs,flake8,py
[testenv]
# coverage 4.0 drops Python 3.2 compatibility
deps =
coverage<4
pytest
pytest-cov
commands =
py.test --basetemp={envtmpdir} --cov=cachetools {posargs}
[testenv:check-manifest]
deps =
check-manifest
commands =
check-manifest
skip_install = true
[testenv:docs]
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[testenv:flake8]
deps =
flake8
flake8-import-order
commands =
flake8
skip_install = true