File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 55 packages :
66 - w3m
77
8+ env :
9+ global :
10+ - ANDROID_TARGET=android-27
11+ - ANDROID_ABI=armeabi-v7a
12+ - ADB_INSTALL_TIMEOUT=12 # in minutes
13+
814jdk :
915 - oraclejdk8
1016
@@ -15,12 +21,18 @@ android:
1521 - build-tools-27.0.3
1622 - extra-google-m2repository
1723 - extra-android-m2repository
18- - android-27
24+ - ${ANDROID_TARGET}
25+ - sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
1926 licenses :
2027 - ' android-sdk-license-.+'
2128
29+ before_script :
30+ - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
31+ - emulator -avd test -no-audio -no-window -no-boot-anim &
32+ - android-wait-for-emulator
33+
2234script :
23- - ./gradlew clean check
35+ - ./gradlew clean check connectedCheck jacocoTestReport
2436
2537after_success :
2638 - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apply from: '../gitutils.gradle'
22apply plugin : ' com.android.application'
33apply plugin : ' kotlin-android'
44apply plugin : ' kotlin-kapt'
5+ apply plugin : ' jacoco-android'
56apply from : ' quality.gradle'
67
78dependencies {
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ buildscript {
88 }
99 dependencies {
1010 classpath ' com.android.tools.build:gradle:3.1.4'
11+ classpath ' com.dicedmelon.gradle:jacoco-android:0.1.3'
12+ classpath ' com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
1113 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1214 }
1315}
You can’t perform that action at this time.
0 commit comments