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:
parent
613b2ad61d
commit
9fe6d041f8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user