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:
parent
41b2e175c9
commit
a4161aeb73
@ -38,7 +38,7 @@ gradle:
|
|||||||
--target android-$AVD_SDK
|
--target android-$AVD_SDK
|
||||||
- emulator64-arm -avd fcl-test -no-skin -no-audio -no-window &
|
- emulator64-arm -avd fcl-test -no-skin -no-audio -no-window &
|
||||||
- ./tools/wait-for-emulator
|
- ./tools/wait-for-emulator
|
||||||
- adb shell input keyevent 82
|
- adb shell input keyevent 82 &
|
||||||
- export EXITVALUE=0
|
- export EXITVALUE=0
|
||||||
- ADB_INSTALL_TIMEOUT=8 ./gradlew connectedCheck -PdisablePreDex || {
|
- ADB_INSTALL_TIMEOUT=8 ./gradlew connectedCheck -PdisablePreDex || {
|
||||||
adb -e logcat -d '*:E';
|
adb -e logcat -d '*:E';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user