1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

Merge pull request #40 from o-liver/buildMkdocs

Building documentation with `mkdocs` and aborting Travis build on error.
This commit is contained in:
Christoph Szymanski 2017-12-28 10:26:19 +01:00 committed by GitHub
commit 2a09b9bfc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,11 @@
language: groovy
sudo: false
install:
- pip install --user mkdocs mkdocs-material
script:
- mvn test -B
- if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then cd documentation && mkdocs build --clean --verbose --strict; fi;
cache:
directories:
- $HOME/.m2
- $HOME/.cache/pip