glance-specs/tox.ini
2018-11-27 16:07:10 +00:00

25 lines
499 B
INI

[tox]
minversion = 1.6
envlist = docs,py27
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
whitelist_externals =
rm
commands =
rm -rf doc/build
python setup.py build_sphinx
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt