From 7493118a929002027ff0fd8be339d6c8711f53f7 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 16 Aug 2018 13:32:57 +0200 Subject: [PATCH] gitlab-ci: only run emulator tests for full flavor The emulator runs are super crashy on gitlab-ci, so just run the emulator tests for the "full" build flavor. Once these prove stable, the task should be switched to connectedCheck to test all the build flavors --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67c919c77..1ecec4e56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,6 +54,8 @@ errorprone: - ./gradlew assembleDebug allow_failure: true +# once these prove stable, the task should be switched to +# connectedCheck to test all the build flavors .connected-template: &connected-template script: - ./gradlew assembleDebug @@ -67,7 +69,7 @@ errorprone: - emulator64-arm -avd avd$AVD_SDK -no-audio -no-window -no-snapstorage & - wait-for-emulator - adb shell input keyevent 82 & - - ./gradlew connectedCheck || (adb -e logcat -d '*:E' > logcat.txt; exit 1) + - ./gradlew connectedFullDebugAndroidTest || (adb -e logcat -d '*:E' > logcat.txt; exit 1) connected24: retry: 1