summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-09-17 09:35:12 +0000
committerGerrit Code Review <review@openstack.org>2014-09-17 09:35:12 +0000
commit0cdf7a8d8cdaf26f69f6a05ad039c28603fde80a (patch)
treee6532fd4075eb22a374a56b1ea6e4ecc3f886bc8
parent9b1e17420faf1210c653476c769f233ff779a112 (diff)
parent781fb760a63c0ce84940b5e55e2afd4077ede6b6 (diff)
downloadtooz-0cdf7a8d8cdaf26f69f6a05ad039c28603fde80a.tar.gz
Merge "Add doc8 to the py27 test running"
-rw-r--r--doc/source/tutorial/coordinator.rst4
-rw-r--r--tox.ini11
2 files changed, 12 insertions, 3 deletions
diff --git a/doc/source/tutorial/coordinator.rst b/doc/source/tutorial/coordinator.rst
index 3712846..78688d4 100644
--- a/doc/source/tutorial/coordinator.rst
+++ b/doc/source/tutorial/coordinator.rst
@@ -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
diff --git a/tox.ini b/tox.ini
index 0cf26d7..d8408ac 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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