Skip to content

Commit eae5ffc

Browse files
committed
Test that the documentation builds successfully
1 parent 8df86ca commit eae5ffc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: python
22

33
env:
44
- TOXENV=collect
5+
- TOXENV=docs
56
- TOXENV=py26
67
- TOXENV=py27
78
- TOXENV=py32

docs/logic.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ files without a hash, or files that are linked from either the home page or the
105105
download url of a package.
106106

107107
In order to get the future behavior in v1.4 the ``pip install`` command
108-
supports a :ref:`--no-allow-external <--no-allow-external>` and
109-
:ref:`--no-allow-insecure <--no-allow-external>` flags.
108+
supports a ``--no-allow-external`` and ``--no-allow-insecure`` flags.
110109

111110
.. _`VCS Support`:
112111

tox.ini

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
collect,py26,py27,py32,py33,pypy
3+
collect,docs,py26,py27,py32,py33,pypy
44

55
[testenv]
66
deps =
@@ -16,6 +16,12 @@ commands =
1616
commands =
1717
py.test --collectonly
1818

19+
[testenv:docs]
20+
deps = sphinx
21+
basepython = python2.7
22+
commands =
23+
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
24+
1925
[testenv:py32]
2026
commands =
2127
py.test

0 commit comments

Comments
 (0)