Permalink
Browse files

Printing test results even if tests passed

Better output in Travis CI if we print the results
  • Loading branch information...
1 parent 18bc217 commit 6e4b10e1954e0c6f9853fd89b5b3e5c247f2e785 @Leonidas-from-XIV committed Nov 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cakefile
View
@@ -7,8 +7,8 @@ task 'build', 'continually build the JavaScript code', ->
task 'test', 'run the test suite', ->
# wrapper around zap to return nonzero if tests failed
exec 'zap', (err, stdout, stderr) ->
+ console.log stdout.trim()
if stdout.indexOf("\u001b[1;31mfailed\u001b[0m") != -1
- console.log stdout.trim()
process.exit 1
task 'doc', 'rebuild the Docco documentation', ->

0 comments on commit 6e4b10e

Please sign in to comment.