Skip to content

Commit

Permalink
Configuring CI (#11)
Browse files Browse the repository at this point in the history
* Adding CI configuration

* Upgrading release version
  • Loading branch information
alan10fm authored Mar 30, 2020
1 parent 72d5b4d commit e6bd30e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ext {
jacocoVersion = '0.8.4'

groupId = 'com.netki'
versionRelease = '0.1.0-alpha2'
versionRelease = '0.1.0-alpha3'
artifactId = 'transactid'
}

Expand Down Expand Up @@ -228,3 +228,19 @@ model {
dependsOn project.tasks.signArchives
}
}

tasks.withType(Test) {
testLogging {
events "skipped", "passed", "failed"
showStandardStreams false
showExceptions false
afterSuite { desc, result ->
if (!desc.parent) {
def output = "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} passed, ${result.failedTestCount} failed, ${result.skippedTestCount} skipped)"
def startItem = '| ', endItem = ' |'
def repeatLength = startItem.length() + output.length() + endItem.length()
println('\n' + ('-' * repeatLength) + '\n' + startItem + output + endItem + '\n' + ('-' * repeatLength))
}
}
}
}

0 comments on commit e6bd30e

Please sign in to comment.