adding cache to travis

This commit is contained in:
Mariotaku Lee 2017-02-04 15:13:31 +08:00
parent 1d7c2d9153
commit bf3c067520
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 9 additions and 0 deletions

View File

@ -43,6 +43,15 @@ addons:
- gzip
- patch
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.m2/
before_install:
- openssl aes-256-cbc -K $encrypted_9b8203f9524d_key -iv $encrypted_9b8203f9524d_iv -in travis/configs/twidere_private_config.tar.gz.enc -out travis/configs/twidere_private_config.tar.gz -d