Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Fix / Travis fails when keeping gradle cache
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Apr 17, 2019
1 parent 747f9c9 commit f715abd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Expand Up @@ -28,13 +28,15 @@ android:
# The SDK version used to compile your project
- android-28

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
# Travis is not happy with gradle cache (getting permission denied)
#before_cache:
# - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
# - rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- $HOME/.gradle/caches/
# Travis is not happy with gradle cache (getting permission denied)
# - $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache

Expand Down

0 comments on commit f715abd

Please sign in to comment.