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

CI: test adb before running connected checks

parent de4198ef
...@@ -33,6 +33,7 @@ test: ...@@ -33,6 +33,7 @@ test:
- echo " == Starting Android 2.3.7 emulator" - echo " == Starting Android 2.3.7 emulator"
- emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window & - emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window &
- ./F-Droid/tools/wait-for-emulator - ./F-Droid/tools/wait-for-emulator
- adb shell input keyevent 82
- echo " == Running Android tests on the 2.3.7 emulator" - echo " == Running Android tests on the 2.3.7 emulator"
- ADB_INSTALL_TIMEOUT=8 gradle connectedCheck - ADB_INSTALL_TIMEOUT=8 gradle connectedCheck
- echo " == Stopping Android 2.3.7 emulator" - echo " == Stopping Android 2.3.7 emulator"
...@@ -42,6 +43,7 @@ test: ...@@ -42,6 +43,7 @@ test:
- echo " == Starting Android 4.4.4 emulator" - echo " == Starting Android 4.4.4 emulator"
- emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window & - emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window &
- ./F-Droid/tools/wait-for-emulator - ./F-Droid/tools/wait-for-emulator
- adb shell input keyevent 82
- echo " == Running Android tests on the 4.4.4 emulator" - echo " == Running Android tests on the 4.4.4 emulator"
- ADB_INSTALL_TIMEOUT=8 gradle connectedCheck - ADB_INSTALL_TIMEOUT=8 gradle connectedCheck
- echo " == Stopping Android 4.4.4 emulator" - echo " == Stopping Android 4.4.4 emulator"
......
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