You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user