mirror of https://github.com/scrapy/scrapy.git
New tox env: docs
This commit is contained in:
parent
96ef4c603c
commit
c7c57178e0
|
|
@ -6,10 +6,12 @@ env:
|
|||
- TOXENV=trunk
|
||||
- TOXENV=pypy
|
||||
- TOXENV=py33
|
||||
- TOXENV=docs
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: TOXENV=pypy
|
||||
- env: TOXENV=py33
|
||||
- env: TOXENV=docs
|
||||
install:
|
||||
- ./.travis-workarounds.sh
|
||||
- pip install tox
|
||||
|
|
|
|||
10
tox.ini
10
tox.ini
|
|
@ -4,7 +4,7 @@
|
|||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py27, pypy, precise, trunk, py33
|
||||
envlist = py27, pypy, precise, trunk, py33, docs
|
||||
indexserver =
|
||||
HPK = https://devpi.net/hpk/dev/
|
||||
|
||||
|
|
@ -56,3 +56,11 @@ deps =
|
|||
commands =
|
||||
bin/runtests.bat []
|
||||
sitepackages = False
|
||||
|
||||
[testenv:docs]
|
||||
changedir = docs
|
||||
deps =
|
||||
Sphinx
|
||||
commands =
|
||||
sphinx-build -W -b html . build/html
|
||||
sphinx-build -W -b linkcheck . build/linkcheck
|
||||
|
|
|
|||
Loading…
Reference in New Issue