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

Cache pip and maven dependencies

To avoid downloading the same things over and over we cache
`$HOME/.cache/pip` for pip and `$HOME/.m2` for maven dependencies.
This commit is contained in:
Oliver Feldmann 2017-12-15 11:09:05 +01:00
parent 613b2ad61d
commit 9fe6d041f8

View File

@ -5,3 +5,7 @@ install:
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