summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2015-04-27 11:00:29 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2015-04-27 11:07:01 -0700
commit4c7a7bdf649a2580a308dda03f27f933cc6047b9 (patch)
tree39507d3cb7ae45767050091ca8450e16953e338c /tox.ini
parentca5e89d1ed396e74d497aaeb3e41e37ee78305ab (diff)
downloadironic-4c7a7bdf649a2580a308dda03f27f933cc6047b9.tar.gz
Add a venv that can generate/write/update the states diagram
Instead of requiring manual understanding of how to generate the states diagram, add an explicit virtualenv that can be used to create and generate that docs diagram (and replace the existing file with it). Change-Id: I1738da9bf08bfda9b9be01489e8456569a31709e
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 5b83d7f5a..f4612cd0a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,6 +18,11 @@ commands =
[tox:jenkins]
downloadcache = ~/cache/pip
+[testenv:genstates]
+deps = {[testenv]deps}
+ pydot2
+commands = {toxinidir}/tools/states_to_dot.py -f {toxinidir}/doc/source/images/states.png
+
[testenv:pep8]
commands =
flake8 {posargs}