mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
9fe6d041f8
To avoid downloading the same things over and over we cache `$HOME/.cache/pip` for pip and `$HOME/.m2` for maven dependencies.
12 lines
279 B
YAML
12 lines
279 B
YAML
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
|