Skip to content
Permalink
Browse files
Prevent Travis build timeout
- Add output after each test completes, as Travis declares a task hung
if no output is written for 10 minutes, which is longer than the build
and tests take to complete
  • Loading branch information
DonalEvans committed Mar 4, 2021
2 parents c973383 + 8b0ef98 commit 05262df4162320082a0e4c0734c13b0f90c04add
Showing 1 changed file with 6 additions and 1 deletion.
@@ -68,7 +68,12 @@ compileJava {
options.deprecation = true
}

test{ useJUnitPlatform() }
test{
afterTest { desc, result ->
logger.quiet "Executing test ${desc.className}.${desc.name} with result: ${result.resultType}"
}
useJUnitPlatform()
}

task benchmark(type: Test) {
if (project.hasProperty('testJVM') && !testJVM.trim().isEmpty()) {

0 comments on commit 05262df

Please sign in to comment.