Skip to content

Commit

Permalink
Add docs build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan P Kilby authored and carltongibson committed Jul 13, 2018
1 parent aa1ace0 commit dece0c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ script:
matrix:
include:
- python: 3.6
env: TOXENV=isort,lint
env: TOXENV=isort,lint,docs
- python: 3.6
env: TOXENV=warnings
allow_failures:
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist =
{py27,py34,py35,py36}-django111,
{py34,py35,py36}-django20,
{py35,py36}-latest,
isort,lint,warnings,
isort,lint,docs,warnings,


[latest]
Expand Down Expand Up @@ -32,6 +32,12 @@ deps = isort
commands = flake8 django_filters tests {posargs}
deps = flake8

[testenv:docs]
commands = sphinx-build -WE docs _docs
deps =
sphinx
sphinx-rtd-theme

[testenv:warnings]
ignore_outcome = True
unignore_outcomes = True
Expand Down

0 comments on commit dece0c8

Please sign in to comment.