Reduce build time #19

Manually merged
UmbertoF merged 2 commits from feature_ci into develop 2019-11-28 15:18:26 +00:00
1 changed files with 13 additions and 0 deletions

View File

@ -5,6 +5,11 @@ name: default
steps: steps:
- name: build - name: build
image: nextcloudci/android:android-49 image: nextcloudci/android:android-49
volumes:
- name: gradle
path: /root/.gradle
- name: android
path: /opt/android-sdk-linux
commands: commands:
- ./gradlew build - ./gradlew build
@ -22,3 +27,11 @@ steps:
when: when:
status: status:
- failure - failure
volumes:
- name: gradle
host:
path: /home/drone/.gradle
- name: android
host:
path: /home/drone/Android/Sdk