Can you at least souce successfully?

This commit is contained in:
Cyberboss
2017-09-19 11:48:14 -04:00
parent 8f2d19db1a
commit c158420d7c
2 changed files with 5 additions and 14 deletions
+5 -1
View File
@@ -7,7 +7,11 @@ env:
- BYOND_MINOR="1385"
- DMEName="DMAPITravisTester.dme"
before_script:
cache:
directories:
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
install:
- ./install_byond.sh
script:
-13
View File
@@ -2,16 +2,3 @@
set -e
source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
if hash DreamMaker 2>/dev/null
then
DreamMaker $DMEName 2>&1 | tee result.log
retval=$?
if ! grep '\- 0 errors, 0 warnings' result.log
then
retval=1 #hard fail, due to warnings or errors
fi
else
echo "Couldn't find the DreamMaker executable, aborting."
retval=2
fi
exit $retval