Skip to content

Commit ba4e381

Browse files
authored
Cache maven and gradle directories in CI. (#120)
1 parent 23302d3 commit ba4e381

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ matrix:
3030
- INSTALL_SCRIPT="build/travis/1-install-deps-travis.sh"
3131
- BUILD_SCRIPT="python3.6 build/travis/build.py"
3232
- RELEASE_SCRIPT="python3.6 build/travis/release.py"
33+
cache:
34+
directories:
35+
- $HOME/.m2
36+
- $HOME/.gradle
3337
- os: linux
3438
dist: trusty
3539
sudo: required
@@ -41,6 +45,7 @@ matrix:
4145
- ANDROID_NDK_HOME=/opt/android-sdk/ndk-bundle
4246

4347

48+
4449
install:
4550
- export ANDROID_HOME=/opt/android-sdk
4651
- export PATH="${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools:/data/bin:$PATH"

0 commit comments

Comments
 (0)