Skip to content

Commit 85189c0

Browse files
committed
updating codecov
1 parent de69d66 commit 85189c0

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ before_script:
5151
- emulator -avd test -no-skin -no-audio -no-window & #Start emulator
5252

5353
script:
54+
- ./gradlew build jacocoTestReport assembleAndroidTest
5455
- echo "Travis branch is $TRAVIS_BRANCH"
5556
- echo "Travis branch is in pull request $TRAVIS_PULL+REQUEST"
5657
- android-wait-for-emulator
@@ -62,6 +63,7 @@ before_install:
6263
- pip install --user codecov #Install codecov
6364

6465
after_success:
65-
- codecov #Run codecov
66+
- codecov
67+
- bash <(curl -s https://codecov.io/bash) #Run codecov
6668

6769
after_failure: "cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml"

app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ android {
2525
minifyEnabled false
2626
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2727
}
28+
debug{
29+
testCoverageEnabled true
30+
}
2831
}
2932
dexOptions {
3033
javaMaxHeapSize "4g"

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)