Log full exception information on failed tests, so we see it in the Travis log


Project: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/commit/a47a84aa
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/tree/a47a84aa
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/diff/a47a84aa

Branch: refs/heads/master
Commit: a47a84aa729fc1972c4f6e46129a2486e1fa5160
Parents: 01a51fe
Author: ddekany <[email protected]>
Authored: Tue Jun 6 16:42:34 2017 +0200
Committer: ddekany <[email protected]>
Committed: Tue Jun 6 16:42:34 2017 +0200

----------------------------------------------------------------------
 build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/blob/a47a84aa/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 340c80f..95f26d6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -158,6 +158,12 @@ shadowJar {
     mergeServiceFiles()
 }
 
+// Log full exception information on failed tests, so we see it in the Travis 
log:
+test.testLogging {
+    showStackTraces true
+    exceptionFormat "full"
+}
+
 jacocoTestReport {
     reports {
         xml.enabled  true

Reply via email to