mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
parent
6163a1bb0f
commit
f37ad202f9
1 changed files with 1 additions and 15 deletions
16
.travis.yml
16
.travis.yml
|
@ -8,10 +8,8 @@ android:
|
||||||
- tools
|
- tools
|
||||||
- platform-tools
|
- platform-tools
|
||||||
- build-tools-24.0.2
|
- build-tools-24.0.2
|
||||||
- android-22
|
|
||||||
- android-24
|
- android-24
|
||||||
- extra-android-m2repository
|
- extra-android-m2repository
|
||||||
- sys-img-armeabi-v7a-android-22
|
|
||||||
|
|
||||||
# Install Golang
|
# Install Golang
|
||||||
before_install:
|
before_install:
|
||||||
|
@ -27,20 +25,8 @@ cache:
|
||||||
- $HOME/.gradle/caches/
|
- $HOME/.gradle/caches/
|
||||||
- $HOME/.gradle/wrapper/
|
- $HOME/.gradle/wrapper/
|
||||||
|
|
||||||
# Create, start, and wait for emulator
|
|
||||||
# https://docs.travis-ci.com/user/languages/android/#How-to-Create-and-Start-an-Emulator
|
|
||||||
before_script:
|
|
||||||
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
|
|
||||||
- emulator -avd test -no-audio -no-window &
|
|
||||||
- android-wait-for-emulator
|
|
||||||
- adb shell input keyevent 82 &
|
|
||||||
|
|
||||||
# Limit memory usage so travis doesn't kill us
|
|
||||||
env:
|
|
||||||
- GRADLE_OPTS=-Xmx2048m
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Lint fails because travis doesn't have platform-tools 24
|
# Lint fails because travis doesn't have platform-tools 24
|
||||||
# https://github.com/travis-ci/travis-ci/issues/6699
|
# https://github.com/travis-ci/travis-ci/issues/6699
|
||||||
#- ./gradlew lint
|
#- ./gradlew lint
|
||||||
- ./gradlew buildNative connectedFatDebugAndroidTest
|
- ./gradlew buildNative assembleDebug
|
||||||
|
|
Loading…
Reference in a new issue