Skip to content

Commit 4ea89fe

Browse files
committed
Coverage
1 parent e0009f5 commit 4ea89fe

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

Jestures/build.gradle

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ group = project_group
1717
archivesBaseName = project_artifact
1818
version = project.project_version
1919

20-
jacocoTestReport {
21-
reports {
22-
xml.enabled false
23-
csv.enabled false
24-
html.destination file("${buildDir}/reports/jacocoHtml")
25-
}
26-
}
27-
2820
//TASKS
2921
task sourcesJar(type: Jar, dependsOn: classes) {
3022
classifier = 'sources'
@@ -104,6 +96,14 @@ sourceSets {
10496
check.dependsOn jacocoTestCoverageVerification
10597
check.finalizedBy jacocoTestReport
10698
jacocoTestReport.finalizedBy htmlDependencyReport
99+
100+
jacocoTestReport {
101+
reports {
102+
xml.enabled true
103+
csv.enabled false
104+
}
105+
}
106+
107107
jacocoTestCoverageVerification {
108108
violationRules {
109109
rule {

Jestures_Recorder/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ check.dependsOn jacocoTestCoverageVerification
6969
check.finalizedBy jacocoTestReport
7070
jacocoTestReport.finalizedBy htmlDependencyReport
7171

72+
jacocoTestReport {
73+
reports {
74+
xml.enabled true
75+
csv.enabled false
76+
}
77+
}
7278

7379
jacocoTestCoverageVerification {
7480
violationRules {
31.5 MB
Binary file not shown.

travis_build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ set -e
33
./gradlew check publish
44
mkdir -p report
55
cp --parent */build/reports build/reports report -R
6+
java -jar ./codacy-coverage-reporter-6.0.0-assembly.jar report -l Java -r Jestures*/build/reports/jacoco/test/jacocoTestReport.xml
7+

travis_pull_request.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
set -e
33
./gradlew check artifactoryPublish
44
mkdir -p report
5-
cp --parent */build/reports build/reports report -R
5+
cp --parent */build/reports build/reports report -R
6+
java -jar ./codacy-coverage-reporter-6.0.0-assembly.jar report -l Java -r Jestures*/build/reports/jacoco/test/jacocoTestReport.xml

0 commit comments

Comments
 (0)