mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-19 01:57:54 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user