Skip to content

Commit 292dcbe

Browse files
committed
print logs if travis ci fails
1 parent 19c5dc4 commit 292dcbe

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ script:
1414
- "./gradlew clean check jacocoTestReport --continue"
1515
after_success:
1616
- bash <(curl -s https://codecov.io/bash)
17+
after_failure:
18+
- cat file:///home/travis/build/auth0/java-jwt/lib/build/reports/tests/index.html
1719
branches:
1820
only:
1921
- v3

lib/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ jacocoTestReport {
2626
test {
2727
testLogging {
2828
events "passed", "skipped", "failed", "standardError"
29+
exceptionFormat "short"
2930
}
3031
}

0 commit comments

Comments
 (0)