We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f177c commit 7af6f65Copy full SHA for 7af6f65
.travis.yml
@@ -20,6 +20,10 @@ matrix:
20
env: TOXENV=py38-dev
21
dist: xenial
22
sudo: true
23
+ - python: 3.7
24
+ env: TOXENV=docs-lint
25
+ dist: xenial
26
+ sudo: true
27
allow_failures:
28
- env: TOXENV=py38-dev
29
install: pip install tox
tox.ini
@@ -27,3 +27,15 @@ commands =
tests/test_valid_requests.py
deps =
pylint
30
+
31
+[testenv:docs-lint]
32
+whitelist_externals =
33
+ rst-lint
34
+ bash
35
+ grep
36
+deps =
37
+ restructuredtext_lint
38
+ pygments
39
+commands =
40
+ rst-lint README.rst docs/README.rst
41
+ bash -c "(set -o pipefail; rst-lint --encoding utf-8 docs/source/*.rst | grep -v 'Unknown interpreted text role\|Unknown directive type'); test $? == 1"
0 commit comments