Get rid of travis_wait in .travis.yml

... so that we get actionable logs when something fails.
This commit is contained in:
Yoann Rodière 2019-05-27 13:02:38 +02:00 committed by Guillaume Smet
parent 5f5e029941
commit 6e485989f1
2 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,7 @@ before_script:
- java -version - java -version
- ./gradlew assemble - ./gradlew assemble
script: script:
- travis_wait 45 ./gradlew check - ./gradlew check
before_cache: before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/

View File

@ -217,6 +217,13 @@ test {
} }
} }
// Log a statement for each test, so that Travis doesn't end up panicking because when there's no output for a long time
test {
testLogging {
events "passed", "skipped", "failed"
}
}
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// IDE // IDE