1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +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:
components:
- tools
- android-25
- build-tools-25.0.0
- platform-tools
- build-tools-25.0.0
- android-25
@ -19,15 +21,14 @@ before_install:
# Cache gradle dependencies
# https://docs.travis-ci.com/user/languages/android/#Caching
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:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script:
# Lint fails because travis doesn't have platform-tools 24
# https://github.com/travis-ci/travis-ci/issues/6699
#- ./gradlew lint
- ./gradlew clean lint
- ./gradlew buildNative assembleDebug
- ./gradlew compileFatDebugAndroidTestSources