-
Notifications
You must be signed in to change notification settings - Fork 233
/
.cirrus.yml
44 lines (42 loc) · 1.46 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
container:
image: cirrusci/android-sdk:30
cpu: 8
memory: 24G
kvm: true
check_android_task:
# execution_lock: OneEmulatorAtATime
list_versions_script:
- sdkmanager --list --verbose| grep ^system-images
# env:
# ARCH: x86
# matrix:
# - API_LEVEL: 28
# - API_LEVEL: 29
# - API_LEVEL: 30
# create_device_script:
# - sdkmanager "system-images;android-${API_LEVEL};google_apis_playstore;${ARCH}"
# - echo no | avdmanager create avd --force -n test_${API_LEVEL} -k "system-images;android-${API_LEVEL};google_apis_playstore;${ARCH}"
# start_emulator_background_script:
# $ANDROID_HOME/emulator/emulator -avd test_${API_LEVEL} -no-audio -no-window -read-only
# wait_for_emulator_script:
# - ./tools/android-wait-for-emulator
# - adb shell input keyevent 82
# disable_animations_script:
# - adb shell settings put global window_animation_scale 0.0
# - adb shell settings put global transition_animation_scale 0.0
# - adb shell settings put global animator_duration_scale 0.0
check_script:
- ./gradlew build testGmsDebugUnitTest
# - ./gradlew check :app:connectedGmsDebugAndroidTest
# - ./gradlew check :app:connectedFDroidDebugAndroidTest
always:
build_artifacts:
path: "app/build/reports/**"
task:
name: Android Lint
lint_script: ./gradlew lintGmsDebug
# always:
# android-lint_artifacts:
# path: "**/reports/lint-results-gmsDebug.xml"
# type: text/xml
# format: android-lint