From 8538e4e377905bd4bcba94a343985bd243579dac Mon Sep 17 00:00:00 2001 From: Roman Joost Date: Sun, 10 Sep 2017 17:32:35 +1000 Subject: [PATCH] ci: run all tests in debug mode Using the new debug mode, capture all STDERR output into a log file and print it after all tests are run. This will hopefully make it easier to debug failures. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 66696041..bf74fb53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,8 @@ before_install: script: - stack --system-ghc --no-terminal --skip-ghc-check install - - stack --system-ghc --no-terminal --skip-ghc-check test + - DEBUG=1 stack --system-ghc --no-terminal --skip-ghc-check test 2> /tmp/test.log + - cat /tmp/test.log matrix: include: