File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,15 +4,27 @@ jdk: oraclejdk8
44
55sudo : false
66
7+ env :
8+ global :
9+ MALLOC_ARENA_MAX=1
10+ matrix :
11+ - ANDROID_TARGET=android-28 ANDROID_ABI=x86
12+ - ANDROID_TARGET=android-24 ANDROID_ABI=x86
13+ - ANDROID_TARGET=android-21 ANDROID_ABI=x86
14+ - ANDROID_TARGET=android-19 ANDROID_ABI=x86
15+ - ANDROID_TARGET=android-16 ANDROID_ABI=x86
16+
717android :
818 components :
919 - tools
10- - android-27
11- - build-tools-27 .0.3
20+ - android-28
21+ - build-tools-28 .0.3
1222 - platform-tools
23+ - extra
1324 - extra-google-m2repository
1425 - extra-android-m2repository
1526 - extra-google-google_play_services
27+ - sys-img-$ANDROID_ABI-$ANDROID_TARGET
1628
1729before_cache :
1830 - rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
@@ -24,21 +36,16 @@ cache:
2436 - $HOME/.gradle/wrapper/
2537 - $HOME/.android/build-cache
2638
27- env :
28- global :
29- MALLOC_ARENA_MAX=1
30-
3139install :
3240 - ulimit -s 1082768
3341 - touch app/keys.properties
3442
43+ before_script :
44+ - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
45+ - emulator -avd test -no-skin -no-audio -no-window &
46+ - android-wait-for-emulator
47+ - adb shell input keyevent 82 &
48+
3549script :
36- - ./gradlew build
50+ - ./gradlew connectedAndroidTest
3751 - ./gradlew assembleStandardRelease --stacktrace
38-
39- after_failure :
40- # tests
41- - cat app/build/reports/tests/testDebugUnitTest/index.html
42- # app
43- - cat app/build/reports/lint-results.xml
44- - cat app/build/reports/lint-results.html
You can’t perform that action at this time.
0 commit comments