Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpassos committed Oct 27, 2017
1 parent 395b676 commit 3f1e46d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion circle.yml
Expand Up @@ -4,7 +4,7 @@ machine:
environment:
QEMU_AUDIO_DRV: none
ANDROID_SDK: "android-26"
BUILD_TOOLS: "26.0.1"
BUILD_TOOLS: "26.0.2"
ANDROID_EMULATOR: "circleci-android24"
ANDROID_ABI: "armeabi-v7a"

Expand Down Expand Up @@ -32,3 +32,6 @@ test:

override:
- ./gradlew build connectedCheck

post:
- bash <(curl -s https://codecov.io/bash)
6 changes: 6 additions & 0 deletions codecov.yml
@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: auto # this is default
if_not_found: success # no commit found? still set a success
3 changes: 3 additions & 0 deletions library/build.gradle
Expand Up @@ -16,6 +16,9 @@ android {

}
buildTypes {
debug {
testCoverageEnabled true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
Expand Down

0 comments on commit 3f1e46d

Please sign in to comment.