mirror of https://github.com/scrapy/scrapy.git
Create separate testenvs to build docs and check links
This commit is contained in:
parent
a555778013
commit
ec54942925
11
tox.ini
11
tox.ini
|
|
@ -57,10 +57,19 @@ deps =
|
|||
basepython = python3.4
|
||||
deps = {[testenv:py33]deps}
|
||||
|
||||
[testenv:docs]
|
||||
[docs]
|
||||
changedir = docs
|
||||
deps =
|
||||
Sphinx
|
||||
|
||||
[testenv:docs]
|
||||
changedir = {[docs]changedir}
|
||||
deps = {[docs]deps}
|
||||
commands =
|
||||
sphinx-build -W -b html . {envtmpdir}/html
|
||||
|
||||
[testenv:docs-links]
|
||||
changedir = {[docs]changedir}
|
||||
deps = {[docs]deps}
|
||||
commands =
|
||||
sphinx-build -W -b linkcheck . {envtmpdir}/linkcheck
|
||||
|
|
|
|||
Loading…
Reference in New Issue