Skip to content

Commit

Permalink
add android cache
Browse files Browse the repository at this point in the history
  • Loading branch information
punksta committed Apr 20, 2019
1 parent bb8a965 commit 88269e8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Expand Up @@ -9,6 +9,14 @@ matrix:
- stage: build_android
language: android
jdk: openjdk8
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/.android/build-cache
android:
components:
- platform-tools
Expand All @@ -25,7 +33,11 @@ matrix:
- nvm install 11
- node --version
- chmod +x ./android/gradlew
install: npm ci

install:
- npm ci
- cd android
- ./gradlew clean
script:
- cd android
- ./gradlew assembleRelease
Expand Down

0 comments on commit 88269e8

Please sign in to comment.