Skip to content

Commit 592f0d2

Browse files
committed
add docs testenv
1 parent ebd5534 commit 592f0d2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ matrix:
1111
env: TOXENV=py38-pytest
1212
- python: "3.7"
1313
env: TOXENV=flake8
14+
- python: "3.7"
15+
env: TOXENV=docs
1416

1517
install:
1618
pip install tox

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ commands =
1414
pytest --cov=click_option_group --color=yes -v {posargs}
1515
coveralls
1616

17+
[testenv:docs]
18+
commands =
19+
pip install -e .[docs]
20+
make -C docs/ html
21+
1722
[testenv:flake8]
1823
deps =
1924
flake8

0 commit comments

Comments
 (0)