The sphinx jobs need to find doc requirements in either
test-requiremnts.txt or doc/requirements.txt. Putting them directly in
to tox.ini, not so much.
Change-Id: I98a43b511a6949fa4f00c26eec224d24d6fa6588
| ... | ... |
@@ -34,16 +34,7 @@ commands = bash -c "find {toxinidir} \
|
| 34 | 34 |
-print0 | xargs -0 bashate -v -iE006 -eE005,E042" |
| 35 | 35 |
|
| 36 | 36 |
[testenv:docs] |
| 37 |
-deps = |
|
| 38 |
- Pygments |
|
| 39 |
- docutils |
|
| 40 |
- sphinx>=1.6.2 |
|
| 41 |
- pbr>=2.0.0,!=2.1.0 |
|
| 42 |
- openstackdocstheme>=1.11.0 |
|
| 43 |
- nwdiag |
|
| 44 |
- blockdiag |
|
| 45 |
- sphinxcontrib-blockdiag |
|
| 46 |
- sphinxcontrib-nwdiag |
|
| 37 |
+deps = -r{toxinidir}/doc/requirements.txt
|
|
| 47 | 38 |
whitelist_externals = bash |
| 48 | 39 |
setenv = |
| 49 | 40 |
TOP_DIR={toxinidir}
|
| ... | ... |
@@ -51,11 +42,5 @@ commands = |
| 51 | 51 |
python setup.py build_sphinx |
| 52 | 52 |
|
| 53 | 53 |
[testenv:venv] |
| 54 |
-deps = |
|
| 55 |
- pbr>=2.0.0,!=2.1.0 |
|
| 56 |
- sphinx>=1.6.2 |
|
| 57 |
- openstackdocstheme>=1.11.0 |
|
| 58 |
- blockdiag |
|
| 59 |
- sphinxcontrib-blockdiag |
|
| 60 |
- sphinxcontrib-nwdiag |
|
| 54 |
+deps = -r{toxinidir}/doc/requirements.txt
|
|
| 61 | 55 |
commands = {posargs}
|