File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ before_script:
12
12
- echo $JAVA_OPTS
13
13
- export JAVA_OPTS="$JAVA_OPTS -Xmx1024m"
14
14
- export GRADLE_OPTS=-Xmx1024m
15
+ after_success :
16
+ - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
15
17
16
18
# workaround for https://github.com/travis-ci/travis-ci/issues/5227
17
19
addons :
18
20
hosts :
19
21
- myshorthost
20
22
hostname : myshorthost
21
-
Original file line number Diff line number Diff line change 1
1
# OpenTok Java SDK
2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/opentok/Opentok-Java-SDK.svg?branch=master )] ( https://travis-ci.org/opentok/Opentok-Java-SDK )
4
-
4
+ [ ![ codecov ] ( https://codecov.io/gh/opentok/Opentok-Java-SDK/branch/master/graph/badge.svg )] ( https://codecov.io/gh/opentok/Opentok-Java-SDK )
5
5
The OpenTok Java SDK lets you generate
6
6
[ sessions] ( http://tokbox.com/opentok/tutorials/create-session/ ) and
7
7
[ tokens] ( http://tokbox.com/opentok/tutorials/create-token/ ) for [ OpenTok] ( http://www.tokbox.com/ )
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ apply plugin: 'signing'
8
8
apply plugin : ' idea'
9
9
apply plugin : ' eclipse'
10
10
apply plugin : ' license'
11
+ apply plugin : ' jacoco'
11
12
12
13
group = ' com.tokbox'
13
14
archivesBaseName = ' opentok-server-sdk'
@@ -27,6 +28,13 @@ javadoc {
27
28
}
28
29
}
29
30
31
+ jacocoTestReport {
32
+ reports {
33
+ xml. enabled true
34
+ html. enabled false
35
+ }
36
+ }
37
+
30
38
task sourcesJar (type : Jar ) {
31
39
classifier = ' sources'
32
40
from sourceSets. main. allSource
Original file line number Diff line number Diff line change
1
+ # Team Yaml
2
+ coverage :
3
+ round : down
4
+ precision : 5
5
+
6
+ # Repository Yaml
7
+ coverage :
8
+ round : up
9
+ range : 0..10
10
+
11
+ # Used in Codecov after updating
12
+ coverage :
13
+ round : up
14
+ range : 0..10
15
+ precision : 5
You can’t perform that action at this time.
0 commit comments