adding a tox environment for docs

Change-Id: If34f4729853b9bb0b75f28b9d0262b30d8ab8d24
This commit is contained in:
Min Pae 2016-01-11 13:41:32 -08:00
parent 3e3e343dfc
commit 0eba20cd5c
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ oslotest>=1.10.0 # Apache-2.0
python-subunit>=0.0.18 # Apache-2.0/BSD
testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
doc8 # Apache-2.0
# Doc requirements
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD

View File

@ -25,6 +25,10 @@ commands = oslo_debug_helper {posargs}
basepython = python3.4
commands = oslo_debug_helper {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
doc8 doc/source
[testenv:pep8]
commands =
flake8 {posargs}