| [tox] |
| skip_missing_interpreters=true |
| envlist=py27,py34,py35,py36,py37,coverage,docs |
| |
| [testenv] |
| skip_install=true |
| setenv = |
| LC_ALL=C |
| LANG=C |
| COVERAGE_FILE=.coverage.{envname} |
| deps = |
| pytest |
| -e .[tests,docs] |
| lxml |
| pyquery |
| BeautifulSoup4 |
| PasteDeploy |
| WSGIProxy2 |
| coverage |
| commands = |
| python --version |
| pip freeze |
| coverage run {envbindir}/pytest -xv [] |
| coverage report --show-missing |
| |
| [testenv:coverage] |
| skip_install=false |
| skipsdist=true |
| deps = |
| coverage |
| setenv = |
| COVERAGE_FILE=.coverage |
| commands = |
| {envbindir}/coverage erase |
| {envbindir}/coverage combine |
| {envbindir}/coverage xml |
| {envbindir}/coverage report --show-missing |
| |
| [testenv:docs] |
| basepython = python3.6 |
| whitelist_externals = make |
| commands = |
| make -C docs html BUILDDIR={envdir} "SPHINXOPTS=-W -E" |
| extras = |
| docs |