Skip to content

Commit 7437c5f

Browse files
🐛 fix release deploy and jacoco tests
1 parent 090998a commit 7437c5f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ deploy:
3535

3636
- provider: releases
3737
api_key: ${GITHUB_TOKEN}
38-
file: spring-boot-starter/build/libs/watson-spring-boot-starter-${TRAVIS_BRANCH}-jar-with-dependencies.jar
38+
file: spring-boot-starter/build/libs/watson-spring-boot-starter-${TRAVIS_BRANCH:1}-jar-with-dependencies.jar
3939
skip_cleanup: true
4040
on:
4141
repo: watson-developer-cloud/spring-boot-starter

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ task codeCoverageReport(type: JacocoReport, dependsOn: test) {
126126
classDirectories = files(sourceSets.main.output)
127127

128128
reports {
129+
xml.enabled true
130+
xml.destination "${buildDir}/reports/jacoco/report.xml"
129131
csv.enabled false
130-
html.destination file("${buildDir}/reports/jacoco")
131-
xml.destination file("${buildDir}/reports/jacoco/report.xml")
132+
html.destination file("${buildDir}/reports/jacoco-html")
132133
}
133134
}
134135

0 commit comments

Comments
 (0)