use headless emulator (#4296)

Signed-off-by: tobiasKaminsky <[email protected]>
This commit is contained in:
Tobias Kaminsky authored and Andy Scherzinger committed 2019-08-07 14:11:41 +02:00
1 parent 612c2bdcad
commit d79f8eeae1
1 file changed
+1 -1
+1 -1
View File
@@ -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