From d79f8eeae19176305f3617d19235ee1742280529 Mon Sep 17 00:00:00 2001 From: Tobias Kaminsky Date: Wed, 7 Aug 2019 14:11:41 +0200 Subject: [PATCH] use headless emulator (#4296) Signed-off-by: tobiasKaminsky --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index df85ba1e01..ecb8ecec03 100644 --- a/.drone.yml +++ b/.drone.yml @@ -67,7 +67,7 @@ steps: commands: - scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0 - ./gradlew assembleGplay - - emulator -avd android-27 -no-window -no-audio & + - emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio & - ./wait_for_emulator.sh - ./gradlew assembleGplayDebug - ./gradlew jacocoTestGplayDebugUnitTestReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN