"Make travis output test output" take 2

This commit is contained in:
Yair Morgenstern 2020-09-03 17:33:56 +03:00
parent 6de4300cb8
commit f9f0b93d4e
4 changed files with 7 additions and 10 deletions

View file

@ -1,4 +1,4 @@
language: android
language: android
dist: trusty # For oracleJDK fail errors, as per advice from https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/6

View file

@ -226,9 +226,11 @@ object RulesetCache :HashMap<String,Ruleset>() {
if(printOutput) println("Mod loaded successfully: " + modRuleset.name)
if(printOutput) checkModLinks(modRuleset)
} catch (ex: Exception) {
println("Exception loading mod '${modFolder.name()}':")
println(" ${ex.localizedMessage}")
println(" (Source file ${ex.stackTrace[0].fileName} line ${ex.stackTrace[0].lineNumber})")
if (printOutput) {
println("Exception loading mod '${modFolder.name()}':")
println(" ${ex.localizedMessage}")
println(" (Source file ${ex.stackTrace[0].fileName} line ${ex.stackTrace[0].lineNumber})")
}
}
}
}

View file

@ -12,12 +12,9 @@ java {
tasks {
test {
workingDir = file("../android/assets")
testLogging.debug {
testLogging.lifecycle {
events(
TestLogEvent.STARTED,
TestLogEvent.FAILED,
TestLogEvent.PASSED,
TestLogEvent.SKIPPED,
TestLogEvent.STANDARD_ERROR,
TestLogEvent.STANDARD_OUT
)

View file

@ -76,8 +76,6 @@ class BasicTests {
UncivGame.Current = UncivGame("")
UncivGame.Current.settings = GameSettings().apply { language = "Italian" }
val x = "+1 Gold, +2 Production".tr()
print(x)
}
// @Test // This should NOT run as part of the test suite!