summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 9b3220d..703bf63 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,10 +32,11 @@ setenv =
32 32
33 33
34[testenv:docs] 34[testenv:docs]
35deps = -r{toxinidir}/doc/requirements.txt
35commands= 36commands=
36 bash -c "rm -rf doc/build" 37 bash -c "rm -rf doc/build"
37 doc8 doc 38 doc8 doc
38 python setup.py build_sphinx 39 sphinx-build -b html doc/source doc/build/html
39 40
40 41
41[doc8] 42[doc8]
@@ -44,6 +45,7 @@ extensions = .rst
44 45
45 46
46[testenv:releasenotes] 47[testenv:releasenotes]
48deps = -r{toxinidir}/doc/requirements.txt
47commands = 49commands =
48 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 50 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
49 51
@@ -112,4 +114,3 @@ commands =
112 {[testenv:bashate]commands} 114 {[testenv:bashate]commands}
113 {[testenv:ansible-lint]commands} 115 {[testenv:ansible-lint]commands}
114 {[testenv:ansible-syntax]commands} 116 {[testenv:ansible-syntax]commands}
115 {[testenv:docs]commands}