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:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue