mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
Fix lint (#789)
This commit is contained in:
parent
5b66038419
commit
8907c0fc89
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
@ -19,15 +21,14 @@ before_install:
|
||||||
# Cache gradle dependencies
|
# Cache gradle dependencies
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue