From e69c04458fed2ffc67ab4afe0e81be8c994dc1d2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 17 Mar 2017 12:42:59 +0100 Subject: [PATCH] gitlab-ci: build before starting emulator to speed things up The emulator will grab a bunch of RAM, so run assemble before connectedCheck so that the app is mostly built before starting the emulator. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d8a715e3..c9647a6db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,7 @@ connected10: variables: AVD_SDK: "10" script: + - ./gradlew assembleDebug -PdisablePreDex - emulator64-arm -avd fcl-test-$AVD_SDK -no-skin -no-audio -no-window & - ./tools/wait-for-emulator - adb shell input keyevent 82 & @@ -55,6 +56,7 @@ connected24: variables: AVD_SDK: "24" script: + - ./gradlew assembleDebug -PdisablePreDex - emulator64-arm -avd fcl-test-$AVD_SDK -no-audio -no-window & - ./tools/wait-for-emulator - adb shell input keyevent 82 &