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.
This commit is contained in:
Hans-Christoph Steiner 2016-04-05 00:21:45 +02:00
parent 41b2e175c9
commit a4161aeb73

View File

@ -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';