Add travis-ci check for new Python API reference

This commit is contained in:
nsubiron 2019-06-27 18:43:43 +02:00 committed by Néstor Subirón
parent 97a22f3f10
commit 93bce0a8b2
1 changed files with 3 additions and 0 deletions

View File

@ -77,8 +77,11 @@ matrix:
- env: TEST="MkDocs"
install:
- pip install -q --user -r PythonAPI/docs/requirements.txt
- pip install -q --user mkdocs
script:
- ./PythonAPI/docs/doc_gen.py
- git diff --quiet HEAD --; if [ ! $? -eq 0 ]; then echo "Python API reference changed, forgot to run doc_gen.py?"; exit 1; fi
- mkdocs build --verbose --clean --strict --site-dir _site
notifications: