From 6cf5eecdac3ed5ee601cfdd9dc5dbcf2f2a3e195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Sat, 8 Dec 2018 10:55:15 +0100 Subject: [PATCH] chore(CI): Lint RST (reStructuredText) files --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c8980bb..8dc047d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,12 @@ python: - 3.6 - nightly install: - - pip install pyyaml coveralls flake8 flake8-import-order + - pip install pyyaml coveralls flake8 flake8-import-order doc8 - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then pip install sphinx; fi - pip install . script: - flake8 . + - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then doc8 $(git ls-files '*.rst'); fi - yamllint --strict $(git ls-files '*.yaml' '*.yml') - coverage run --source=yamllint setup.py test - if [[ $TRAVIS_PYTHON_VERSION != 2* ]]; then