Improve travis script error checker

Builds should not pass when they have an error count that is a multiple of 10
This commit is contained in:
oranges
2016-06-03 20:57:47 +12:00
parent 4d7aab53a2
commit 01b7480ddd
+2 -2
View File
@@ -79,7 +79,7 @@ else
then
DreamMaker $dmepath.mdme 2>&1 | tee result.log
retval=$?
if ! grep '0 errors, 0 warnings' result.log
if ! grep '\- 0 errors, 0 warnings' result.log
then
retval=1 #hard fail, due to warnings or errors
fi
@@ -94,4 +94,4 @@ mv $dmepath.mdme.rsc $dmepath.rsc
rm $dmepath.mdme
exit $retval
exit $retval