From e3400006a9943b9d4ef286cb64860835d6acc7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 9 Sep 2015 21:16:09 -0700 Subject: [PATCH] CI: test adb before running connected checks --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1328dd993..261fd2e6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ test: - echo " == Starting Android 2.3.7 emulator" - emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window & - ./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 - echo " == Stopping Android 2.3.7 emulator" @@ -42,6 +43,7 @@ test: - 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 - echo " == Running Android tests on the 4.4.4 emulator" - ADB_INSTALL_TIMEOUT=8 gradle connectedCheck - echo " == Stopping Android 4.4.4 emulator"