Test that the documentation builds successfully

This commit is contained in:
Donald Stufft 2013-08-28 06:31:39 -04:00
parent 8df86cac0b
commit eae5ffc11a
3 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,7 @@ language: python
env:
- TOXENV=collect
- TOXENV=docs
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32

View File

@ -105,8 +105,7 @@ files without a hash, or files that are linked from either the home page or the
download url of a package.
In order to get the future behavior in v1.4 the ``pip install`` command
supports a :ref:`--no-allow-external <--no-allow-external>` and
:ref:`--no-allow-insecure <--no-allow-external>` flags.
supports a ``--no-allow-external`` and ``--no-allow-insecure`` flags.
.. _`VCS Support`:

View File

@ -1,6 +1,6 @@
[tox]
envlist =
collect,py26,py27,py32,py33,pypy
collect,docs,py26,py27,py32,py33,pypy
[testenv]
deps =
@ -16,6 +16,12 @@ commands =
commands =
py.test --collectonly
[testenv:docs]
deps = sphinx
basepython = python2.7
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:py32]
commands =
py.test