mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-21 19:41:38 -04:00
#1175 attempt no acceleration on x86
This commit is contained in:
parent
9ecae8f3fc
commit
595cc4251f
17
.travis.yml
17
.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
|
Loading…
x
Reference in New Issue
Block a user