mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Test that the documentation builds successfully
This commit is contained in:
parent
8df86cac0b
commit
eae5ffc11a
|
@ -2,6 +2,7 @@ language: python
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- TOXENV=collect
|
- TOXENV=collect
|
||||||
|
- TOXENV=docs
|
||||||
- TOXENV=py26
|
- TOXENV=py26
|
||||||
- TOXENV=py27
|
- TOXENV=py27
|
||||||
- TOXENV=py32
|
- TOXENV=py32
|
||||||
|
|
|
@ -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.
|
download url of a package.
|
||||||
|
|
||||||
In order to get the future behavior in v1.4 the ``pip install`` command
|
In order to get the future behavior in v1.4 the ``pip install`` command
|
||||||
supports a :ref:`--no-allow-external <--no-allow-external>` and
|
supports a ``--no-allow-external`` and ``--no-allow-insecure`` flags.
|
||||||
:ref:`--no-allow-insecure <--no-allow-external>` flags.
|
|
||||||
|
|
||||||
.. _`VCS Support`:
|
.. _`VCS Support`:
|
||||||
|
|
||||||
|
|
8
tox.ini
8
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
collect,py26,py27,py32,py33,pypy
|
collect,docs,py26,py27,py32,py33,pypy
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
@ -16,6 +16,12 @@ commands =
|
||||||
commands =
|
commands =
|
||||||
py.test --collectonly
|
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]
|
[testenv:py32]
|
||||||
commands =
|
commands =
|
||||||
py.test
|
py.test
|
||||||
|
|
Loading…
Reference in a new issue