Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ matrix:
- name: "3.7 pydocstyle Check"
python: 3.7
env: TOXENV=pydocstyle

- name: "3.7 sphinx Check"
python: 3.7
env: TOXENV=sphinx
# Dependencies needed to run tox tests and update coverage.
install:
- pip install tox
Expand Down
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py36, py37, lint, pydocstyle
envlist = py36, py37, lint, pydocstyle, sphinx
skip_missing_interpreters = True
skipsdist=True

Expand All @@ -31,3 +31,11 @@ deps =
-r{toxinidir}/requirements.txt

commands = coverage run -m unittest discover -s tests

[testenv:sphinx]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-docs.txt
commands =
sphinx-build -M dummy {toxinidir}/docs/source {toxinidir}/docs/build
sphinx-build -M linkcheck {toxinidir}/docs/source {toxinidir}/docs/build