File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ before_script:
51
51
- emulator -avd test -no-skin -no-audio -no-window & # Start emulator
52
52
53
53
script :
54
+ - ./gradlew build jacocoTestReport assembleAndroidTest
54
55
- echo "Travis branch is $TRAVIS_BRANCH"
55
56
- echo "Travis branch is in pull request $TRAVIS_PULL+REQUEST"
56
57
- android-wait-for-emulator
@@ -62,6 +63,7 @@ before_install:
62
63
- pip install --user codecov # Install codecov
63
64
64
65
after_success :
65
- - codecov # Run codecov
66
+ - codecov
67
+ - bash <(curl -s https://codecov.io/bash) # Run codecov
66
68
67
69
after_failure : " cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml"
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ android {
25
25
minifyEnabled false
26
26
proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
27
27
}
28
+ debug{
29
+ testCoverageEnabled true
30
+ }
28
31
}
29
32
dexOptions {
30
33
javaMaxHeapSize " 4g"
You can’t perform that action at this time.
0 commit comments