Commit b54ae7ba authored by Daniel Martí's avatar Daniel Martí
Browse files

CI: Remove 4.4 emulator, still too flaky

parent 9483f2ce
Pipeline #137217 passed with stage
......@@ -17,8 +17,7 @@ before_script:
- export PATH="$ANDROID_HOME/platform-tools:$PATH"
- export PATH="$ANDROID_HOME/build-tools/23.0.1:$PATH"
- echo " == Installing Android emulator images"
- echo y | android -s update sdk --no-ui -a -t android-10,android-19
- echo y | android -s update sdk --no-ui -a -t sys-img-armeabi-v7a-android-19
- echo y | android -s update sdk --no-ui -a -t android-10
- echo " == Installing Gradle"
- wget -q -O gradle.zip https://services.gradle.org/distributions/gradle-2.4-bin.zip
- unzip -q gradle.zip
......@@ -38,14 +37,3 @@ test:
- ADB_INSTALL_TIMEOUT=8 gradle connectedCheck || { adb logcat -d '*:W'; exit 1; }
- echo " == Stopping Android 2.3.7 emulator"
- kill $!
- echo " == Creating Android 4.4.4 emulator"
- echo no | android create avd --force -n fcl-test -t android-19 -b armeabi-v7a
- echo " == Starting Android 4.4.4 emulator"
- emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window &
- ./F-Droid/tools/wait-for-emulator
- adb shell input keyevent 82
- sleep 60 # 4.4 says it's ready before it actually is
- echo " == Running Android tests on the 4.4.4 emulator"
- ADB_INSTALL_TIMEOUT=8 gradle connectedCheck || { adb logcat -d '*:W'; exit 1; }
- echo " == Stopping Android 4.4.4 emulator"
- kill $!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment