Build docs only for Pull Requests

The check whether the documentation build includes errors or warnings is
only necessary as a voter on the PR.
This commit is contained in:
Oliver Feldmann
2017-12-21 15:28:36 +01:00
parent 1f28e870fe
commit 613b2ad61d
+1 -1
View File
@@ -4,4 +4,4 @@ install:
- pip install --user mkdocs mkdocs-material
script:
- mvn test -B
- cd documentation && mkdocs build --clean --verbose --strict
- if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then cd documentation && mkdocs build --clean --verbose --strict; fi;