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
This commit is contained in:
Hans-Christoph Steiner 2018-08-16 13:32:57 +02:00
parent 9d8232472f
commit 7493118a92
1 changed files with 3 additions and 1 deletions

View File

@ -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