Add travis-ci check for new Python API reference
This commit is contained in:
parent
97a22f3f10
commit
93bce0a8b2
|
@ -77,8 +77,11 @@ matrix:
|
||||||
|
|
||||||
- env: TEST="MkDocs"
|
- env: TEST="MkDocs"
|
||||||
install:
|
install:
|
||||||
|
- pip install -q --user -r PythonAPI/docs/requirements.txt
|
||||||
- pip install -q --user mkdocs
|
- pip install -q --user mkdocs
|
||||||
script:
|
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
|
- mkdocs build --verbose --clean --strict --site-dir _site
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|
Loading…
Reference in New Issue