Fix tox.ini
Follow standard OpenStack tox.ini setup. Change-Id: I6c3adaf54b84960dd6a15d8e8cefabf50c6df535
This commit is contained in:
parent
9359f06e08
commit
a76dc00a27
17
tox.ini
17
tox.ini
|
@ -3,17 +3,10 @@ envlist = docs
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython =
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
docs: python2.7
|
|
||||||
|
|
||||||
envdir =
|
[testenv:venv]
|
||||||
docs: {toxworkdir}/2.7
|
commands = {posargs}
|
||||||
|
|
||||||
changedir =
|
[docs]
|
||||||
docs: {toxinidir}/doc/
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
deps =
|
|
||||||
-r{toxinidir}/requirements.txt
|
|
||||||
|
|
||||||
commands =
|
|
||||||
docs: sphinx-build -W -b html . {toxinidir}/doc/build/html
|
|
||||||
|
|
Loading…
Reference in New Issue