From a4161aeb73e4f1564ff040828cc542e5397ab594 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 5 Apr 2016 00:21:45 +0200 Subject: [PATCH] gitlab-ci: run `adb shell input keyevent 82` in the background This is the common pattern I've seen in travis-ci builds. It should speed things up a little bit since the adb connection process will happen in parallel with waiting for the screen lock to be dismissed. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ec3742ae..97a8f8514 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ gradle: --target android-$AVD_SDK - emulator64-arm -avd fcl-test -no-skin -no-audio -no-window & - ./tools/wait-for-emulator - - adb shell input keyevent 82 + - adb shell input keyevent 82 & - export EXITVALUE=0 - ADB_INSTALL_TIMEOUT=8 ./gradlew connectedCheck -PdisablePreDex || { adb -e logcat -d '*:E';