[tox] envlist = docs [testenv] 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] basepython = python3 commands = {posargs} [testenv:docs] basepython = python3 commands = python setup.py build_sphinx