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
|
||||
|
||||
[testenv]
|
||||
basepython =
|
||||
docs: python2.7
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
||||
envdir =
|
||||
docs: {toxworkdir}/2.7
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
changedir =
|
||||
docs: {toxinidir}/doc/
|
||||
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
|
||||
commands =
|
||||
docs: sphinx-build -W -b html . {toxinidir}/doc/build/html
|
||||
[docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
|
Loading…
Reference in New Issue