From 595cc4251faee197f96a8327c3bb35871f79817a Mon Sep 17 00:00:00 2001 From: Sean Mac Gillicuddy Date: Fri, 24 May 2019 16:19:22 +0100 Subject: [PATCH] #1175 attempt no acceleration on x86 --- .travis.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index a240779b6..c0192764e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,18 +6,13 @@ sudo: required env: global: - - ANDROID_TARGET=android-24 - - ANDROID_ABI=arm64-v8a + - ANDROID_TARGET=android-23 + - ANDROID_ABI=x86 install: - pip install --user 'requests[security]' - wget -r -nH -nd -np -R index.html* robots.txt* http://download.kiwix.org/dev/android/api/licenses/ -e robots=off -P $ANDROID_HOME/licenses || true -addons: - apt: - packages: - - lynx - before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ @@ -43,7 +38,7 @@ licenses: script: # - ./gradlew lintKiwixDebug jacocoTestKiwixDebugUnitTestReport - - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M + - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 100M -no-accel - emulator -avd test -no-window & - android-wait-for-emulator - adb shell setprop dalvik.vm.dexopt-flags v=n,o=v @@ -60,7 +55,7 @@ after_success: after_failure: - export LOG_DIR=home/travis/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; + - cat ${LOG_DIR}com.android.builder.testing.ConnectedDevice.html + - cat ${LOG_DIR}com.android.builder.testing.html + - cat ${LOG_DIR}org.kiwix.kiwixmobile.tests.BasicTest.html; - echo " LOGCAT "; echo "========"; cat logcat.log; pkill -KILL -f adb \ No newline at end of file