summaryrefslogtreecommitdiffstats
path: root/CIbuild.sh
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-10-25 18:49:42 +0200
committerMattes D <github@xoft.cz>2016-10-25 18:49:58 +0200
commit5552feafca3cd3d39a20074dbd0b85f0220f0140 (patch)
tree925e6808077ae1d32fe3017601274f2823e56d18 /CIbuild.sh
parentMerge pull request #3410 from cuberite/message_json (diff)
downloadcuberite-5552feafca3cd3d39a20074dbd0b85f0220f0140.tar
cuberite-5552feafca3cd3d39a20074dbd0b85f0220f0140.tar.gz
cuberite-5552feafca3cd3d39a20074dbd0b85f0220f0140.tar.bz2
cuberite-5552feafca3cd3d39a20074dbd0b85f0220f0140.tar.lz
cuberite-5552feafca3cd3d39a20074dbd0b85f0220f0140.tar.xz
cuberite-5552feafca3cd3d39a20074dbd0b85f0220f0140.tar.zst
cuberite-5552feafca3cd3d39a20074dbd0b85f0220f0140.zip
Diffstat (limited to 'CIbuild.sh')
-rwxr-xr-xCIbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/CIbuild.sh b/CIbuild.sh
index d652f1d36..93c238b4c 100755
--- a/CIbuild.sh
+++ b/CIbuild.sh
@@ -19,6 +19,7 @@ make -j 2 test ARGS="-V";
echo "Testing..."
cd Server/;
+touch apiCheckFailed.flag
if [ "$TRAVIS_CUBERITE_BUILD_TYPE" != "COVERAGE" ]; then
$CUBERITE_PATH << EOF
load APIDump
@@ -36,4 +37,8 @@ EOF
cat ./DuplicateDocs.txt
exit 1
fi
+ if [ -f ./apiCheckFailed.flag ]; then
+ echo "ERROR: API check has failed with an unknown error"
+ exit 1
+ fi
fi