mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
#1175 revert trying to use x86 emulator
This commit is contained in:
parent
fe67180eda
commit
a0d0d9fcc8
@ -6,8 +6,8 @@ sudo: required
|
||||
|
||||
env:
|
||||
global:
|
||||
- ANDROID_TARGET=android-21
|
||||
- ANDROID_ABI=x86_64
|
||||
- ANDROID_TARGET=android-24
|
||||
- ANDROID_ABI=arm64-v8a
|
||||
|
||||
install:
|
||||
- pip install --user 'requests[security]'
|
||||
@ -39,7 +39,7 @@ licenses:
|
||||
script:
|
||||
# - ./gradlew assembleKiwixDebug jacocoTestKiwixDebugUnitTestReport
|
||||
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
|
||||
- emulator -avd test -no-skin -no-window -no-accel -gpu swiftshader -no-boot-anim &
|
||||
- emulator -avd test -no-skin -no-window -logcat *:e &
|
||||
- android-wait-for-emulator
|
||||
- adb shell setprop dalvik.vm.dexopt-flags v=n,o=v
|
||||
- adb shell input keyevent 82 & # unlock screen by pressing menu button
|
||||
@ -53,4 +53,4 @@ after_success:
|
||||
- ./gradlew testdroidUploadKiwixDebug
|
||||
|
||||
after_failure:
|
||||
- echo "====================="; cat ${HOME}/home/travis/build/kiwix/kiwix-android/app/build/reports/androidTests/connected/flavors/KIWIX/index.html;
|
||||
- echo "====================="; cat ${HOME}/build/kiwix/kiwix-android/app/build/reports/androidTests/connected/flavors/KIWIX/index.html;
|
Loading…
x
Reference in New Issue
Block a user