Merge "Add doc8 to the py27 test running"

This commit is contained in:
Jenkins 2014-09-17 09:35:12 +00:00 committed by Gerrit Code Review
commit 0cdf7a8d8c
2 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,6 @@
=====================
=======================
Creating A Coordinator
=====================
=======================
The principal object provided by tooz is the *coordinator*. It allows you to
use various features, such as group membership, leader election or

11
tox.ini
View File

@ -16,12 +16,21 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = {posargs}
[testenv:py27]
deps = {[testenv]deps}
doc8
commands = bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --testr-args="{posargs}"
doc8 doc/source
[testenv:cover]
commands =
bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:docs]
commands = python setup.py build_sphinx
deps = {[testenv]deps}
doc8
commands = doc8 doc/source
python setup.py build_sphinx
[testenv:pep8]
deps = hacking>=0.9.2,<0.10