[tox] minversion = 1.4 envlist = docs skipsdist = True [testenv] basepython = python3 usedevelop = True setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:venv] commands = {posargs} [testenv:docs] commands = sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html