Skip to content

Commit

Permalink
add 'tox -e docs', travis job to exercise it
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed May 5, 2019
1 parent cedf549 commit 49ab25f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -31,5 +31,9 @@ matrix:
- python: 3.6
script: tox -e flake8less
env: FLAKE8
- python: 3.7
dist: xenial
script: tox -e docs
env: DOCS
allow_failures:
- python: nightly
8 changes: 8 additions & 0 deletions tox.ini
Expand Up @@ -44,3 +44,11 @@ max-complexity = 40
[testenv:flake8less]
deps = flake8
commands = flake8 --select=E901,E999,F821,F822,F823 src/wormhole

[testenv:docs]
deps =
sphinx
recommonmark
skip_install = True
commands =
sphinx-build -b html -d {toxinidir}/docs/_build/doctrees {toxinidir}/docs {toxinidir}/docs/_build/html

0 comments on commit 49ab25f

Please sign in to comment.