Commit 3d8b6a99 authored by Ben Taylor's avatar Ben Taylor
Browse files

Fail build on error as well as failure

parent 8880fd5a
......@@ -5,4 +5,4 @@ sudo: false
install:
- "make"
- "cd test"
script: ant -f build-test.xml test | tee test.log && [ -z "$(grep 'Failures:\s[^0]' test.log)" ]
script: ant -f build-test.xml test | tee test.log && [ -z "$(grep 'Failures:\s[^0]\|Errors:\s[^0]' test.log)" ]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment