04ddf7a26f
Change-Id: Ide89a399989c514f1f660d8d14e6b5e425a8ff60
26 lines
558 B
INI
26 lines
558 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = docs,py27
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
basepython = python2
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:doc8]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
doc8
|
|
commands = doc8 doc/source
|