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:
commit
2a09b9bfc1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user