[ci] Fix failure detection when not all tests failed

This commit is contained in:
Ilya Dmitrichenko 2012-11-13 13:55:17 +00:00 committed by Ilya Dmitrichenko
parent 07e2b10d23
commit 287da35a33

View File

@ -22,7 +22,7 @@ after_script:
## Print a basic summary in unix style
- "echo 'Summary:'; cat results | sort | uniq -c"
## This will detect whether the build should pass or fail
- "grep -v -q 'fail' results"
- "test `grep -c 'fail' results` -eq 0"
env: