Skip to content

Commit

Permalink
ci: run all tests in debug mode
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
romanofski committed Sep 10, 2017
1 parent ec6da51 commit 8538e4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8538e4e

Please sign in to comment.