Skip to content

Commit

Permalink
#1175 disable emulator until armeabi-v7a support
Browse files Browse the repository at this point in the history
  • Loading branch information
BBT-SeanMacGillicuddy committed May 24, 2019
1 parent 9c55e44 commit 1febfd1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand Down Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 1febfd1

Please sign in to comment.