Skip to content

Commit 9223688

Browse files
committed
Add documentation builder to tox
1 parent 3bfaf52 commit 9223688

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
language: python
22
env:
33
- TOXENV=py26
4+
- TOXENV=py26-flake8
45
- TOXENV=py27
6+
- TOXENV=docs
57
install:
68
- pip install tox
79
script:

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,13 @@ exclude_lines=
4848
[html]
4949
title=riemann-client coverage report
5050
directory=.tox/py26-coverage
51+
52+
# Documentation
53+
# Builds documentation using sphinx
54+
55+
[testenv:docs]
56+
basepython=python2.6
57+
commands=sphinx-build -q -QE docs/ docs/_build/
58+
deps=
59+
sphinx
60+
sphinx_rtd_theme

0 commit comments

Comments
 (0)