mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-23 04:33:54 -04:00
Merge pull request #1256 from kiwix/feature/macgills/fix-build
Fix build with lower target emulator
This commit is contained in:
commit
8953642eda
10
.travis.yml
10
.travis.yml
@ -6,7 +6,9 @@ sudo: required
|
||||
|
||||
env:
|
||||
global:
|
||||
- ANDROID_TARGET=android-22
|
||||
# switch glibc to a memory conserving mode
|
||||
- MALLOC_ARENA_MAX=2
|
||||
- ANDROID_TARGET=android-21
|
||||
- ANDROID_ABI=armeabi-v7a
|
||||
|
||||
if: type != push OR tag IS present
|
||||
@ -47,12 +49,10 @@ android:
|
||||
licenses:
|
||||
- ".+"
|
||||
|
||||
before_script:
|
||||
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M
|
||||
- emulator -avd test -no-audio -no-window &
|
||||
|
||||
script:
|
||||
- ./gradlew lintKiwixDebug jacocoTestKiwixDebugUnitTestReport
|
||||
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M
|
||||
- emulator -avd test -no-audio -no-window &
|
||||
- android-wait-for-emulator
|
||||
- adb shell input keyevent 82 &
|
||||
- adb -e logcat *:D > logcat.log &
|
||||
|
Loading…
x
Reference in New Issue
Block a user