Merge "adding a tox environment for docs"

This commit is contained in:
Jenkins 2016-03-17 18:21:40 +00:00 committed by Gerrit Code Review
commit b8449e259e
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}