Merge pull request #12065 from PsiOmegaDelta/160129-WarningsAsErrors

Makes Travis treat build warnings as errors.
This commit is contained in:
Chinsky
2016-01-29 21:05:32 +03:00
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -39,6 +39,7 @@ script:
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
- cp config/example/* config/
- scripts/dm.sh -DUNIT_TEST baystation12.dme
- grep "0 warnings" build_log.txt
- DreamDaemon baystation12.dmb -invisible -trusted -core 2>&1 | tee log.txt
- grep "All Unit Tests Passed" log.txt
- (! grep "runtime error:" log.txt)
@@ -616,4 +616,4 @@
ui_updated_needed = 1
if(ui_updated_needed)
update_uis
update_uis()
+1 -1
View File
@@ -44,7 +44,7 @@ if [[ $DM == "" ]]; then
exit 3
fi
"$DM" $dmepath.mdme
"$DM" $dmepath.mdme > build_log.txt
retval=$?
mv $dmepath.mdme.dmb $dmepath.dmb