Fixed some Travis issues and other files.

This commit is contained in:
waltje
2018-04-25 21:00:09 -04:00
parent d5278a6f4a
commit cc58ed129f
3 changed files with 25 additions and 9 deletions

View File

@@ -9,7 +9,7 @@
#
# Build script for the Travis CI remote builder service.
#
# Version: @(#).travis-build.sh 1.0.2 2018/04/17
# Version: @(#).travis-build.sh 1.0.3 2018/04/25
#
# Author: Fred N. van Kempen, <decwiz@yahoo.com>
#
@@ -62,11 +62,19 @@
# Build the project.
make -f win/mingw/Makefile.MinGW BUILD=${TRAVIS_BUILD_NUMBER}
if [ $? = 1 ]; then
echo "Build failed, not uploading."
if [ $? = 0 ]; then
echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up."
exit 1
fi
zip -9 ../${TARGET}.zip *.exe
echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up."
zip -9 ../${TARGET}.zip *.exe
if [ $? = 1 ]; then
echo "ZIP failed, not uploading."
exit 1
fi
exit 0