New tox env: docs

This commit is contained in:
Julia Medina 2014-04-09 18:46:01 -03:00
parent 96ef4c603c
commit c7c57178e0
2 changed files with 11 additions and 1 deletions

View File

@ -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
View File

@ -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