Commit 35c5f063 authored by Daniel Martí's avatar Daniel Martí
Browse files

CI: Get logcat output (W and above) on failure

parent f05d0e12
......@@ -35,7 +35,7 @@ test:
- ./F-Droid/tools/wait-for-emulator
- adb shell input keyevent 82
- echo " == Running Android tests on the 2.3.7 emulator"
- ADB_INSTALL_TIMEOUT=8 gradle connectedCheck
- 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"
......@@ -46,6 +46,6 @@ test:
- adb shell input keyevent 82
- sleep 30 # 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_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