Skip to content

Commit

Permalink
Add doc building to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Aug 14, 2014
1 parent 8e41c0b commit 3af0e09
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
- TOX_ENV=pypy
- TOX_ENV=flake8
- TOX_ENV=manifest
- TOX_ENV=docs

install:
- pip install tox coveralls
Expand Down
9 changes: 8 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py33, py34, pypy, flake8, manifest
envlist = py27, py33, py34, pypy, flake8, manifest, docs

[testenv]
deps =
Expand All @@ -19,3 +19,10 @@ deps =
check-manifest
commands =
check-manifest

[testenv:docs]
basepython = python2.7
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html

0 comments on commit 3af0e09

Please sign in to comment.