mirror of https://github.com/scrapy/scrapy.git
Merge pull request #1234 from Curita/add-docs-build-to-travis
Add docs build to travis
This commit is contained in:
commit
fc1aaeb74d
|
|
@ -4,6 +4,7 @@ env:
|
|||
- TOXENV=py27
|
||||
- TOXENV=precise
|
||||
- TOXENV=py33
|
||||
- TOXENV=docs
|
||||
install:
|
||||
- "./.travis-workarounds.sh"
|
||||
- pip install -U tox
|
||||
|
|
|
|||
15
tox.ini
15
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 . build/html
|
||||
sphinx-build -W -b linkcheck . build/linkcheck
|
||||
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