diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-09-17 09:35:12 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-09-17 09:35:12 +0000 |
commit | 0cdf7a8d8cdaf26f69f6a05ad039c28603fde80a (patch) | |
tree | e6532fd4075eb22a374a56b1ea6e4ecc3f886bc8 | |
parent | 9b1e17420faf1210c653476c769f233ff779a112 (diff) | |
parent | 781fb760a63c0ce84940b5e55e2afd4077ede6b6 (diff) | |
download | tooz-0cdf7a8d8cdaf26f69f6a05ad039c28603fde80a.tar.gz |
Merge "Add doc8 to the py27 test running"
-rw-r--r-- | doc/source/tutorial/coordinator.rst | 4 | ||||
-rw-r--r-- | tox.ini | 11 |
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 @@ -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 |