mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
#1175 disable emulator until armeabi-v7a support
This commit is contained in:
parent
9c55e44d72
commit
1febfd14b2
26
.travis.yml
26
.travis.yml
@ -6,8 +6,8 @@ sudo: required
|
||||
|
||||
env:
|
||||
global:
|
||||
- ANDROID_TARGET=android-23
|
||||
- ANDROID_ABI=x86
|
||||
# - ANDROID_TARGET=android-24
|
||||
# - ANDROID_ABI=arm64-v8a
|
||||
|
||||
install:
|
||||
- pip install --user 'requests[security]'
|
||||
@ -35,21 +35,21 @@ android:
|
||||
- build-tools-28.0.3
|
||||
- android-27
|
||||
- extra-android-m2repository
|
||||
- $ANDROID_TARGET
|
||||
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
|
||||
# - $ANDROID_TARGET
|
||||
# - sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
|
||||
|
||||
licenses:
|
||||
- ".+"
|
||||
|
||||
script:
|
||||
# - ./gradlew lintKiwixDebug jacocoTestKiwixDebugUnitTestReport
|
||||
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M
|
||||
- emulator -avd test -no-window -no-accel &
|
||||
- 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
|
||||
- adb -e logcat *:D > logcat.log &
|
||||
- ./gradlew createKiwixDebugCoverageReport
|
||||
- ./gradlew lintKiwixDebug jacocoTestKiwixDebugUnitTestReport
|
||||
# - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M
|
||||
# - emulator -avd test -no-window &
|
||||
# - 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
|
||||
# - adb -e logcat *:D > logcat.log &
|
||||
# - ./gradlew createKiwixDebugCoverageReport
|
||||
- if [$TRAVIS_PULL_REQUEST == “false” ] && [ $TRAVIS_BRANCH == “release” ]; then
|
||||
./gradlew publishKiwixRelease;
|
||||
fi
|
||||
@ -59,7 +59,7 @@ after_success:
|
||||
- ./gradlew testdroidUploadKiwixDebug
|
||||
|
||||
after_failure:
|
||||
- export LOG_DIR=home/travis/build/kiwix/kiwix-android/app/build/outputs/reports/androidTests/connected/flavors/KIWIX/
|
||||
- export LOG_DIR = ${TRAVIS_HOME}/build/kiwix/kiwix-android/app/build/outputs/reports/androidTests/connected/flavors/KIWIX/
|
||||
- lynx --dump ${LOG_DIR}com.android.builder.testing.ConnectedDevice.html
|
||||
- lynx --dump ${LOG_DIR}com.android.builder.testing.html
|
||||
- lynx -dump ${LOG_DIR}org.kiwix.kiwixmobile.tests.BasicTest.html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user