1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 11:21:29 +00:00
This commit is contained in:
Alex Saveau 2016-11-25 20:44:40 -08:00 committed by Felix Ableitner
parent 5b66038419
commit 8907c0fc89

View file

@ -6,6 +6,8 @@ jdk: oraclejdk8
android: android:
components: components:
- tools - tools
- android-25
- build-tools-25.0.0
- platform-tools - platform-tools
- build-tools-25.0.0 - build-tools-25.0.0
- android-25 - android-25
@ -20,14 +22,13 @@ before_install:
# https://docs.travis-ci.com/user/languages/android/#Caching # https://docs.travis-ci.com/user/languages/android/#Caching
before_cache: before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache: cache:
directories: directories:
- $HOME/.gradle/caches/ - $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/ - $HOME/.gradle/wrapper/
script: script:
# Lint fails because travis doesn't have platform-tools 24 - ./gradlew clean lint
# https://github.com/travis-ci/travis-ci/issues/6699
#- ./gradlew lint
- ./gradlew buildNative assembleDebug - ./gradlew buildNative assembleDebug
- ./gradlew compileFatDebugAndroidTestSources - ./gradlew compileFatDebugAndroidTestSources