summaryrefslogtreecommitdiffstats
path: root/CIbuild.sh
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-10-26 11:08:58 +0200
committerGitHub <noreply@github.com>2016-10-26 11:08:58 +0200
commit471ae7e47b0567e6af61add708805692ca89d681 (patch)
tree925e6808077ae1d32fe3017601274f2823e56d18 /CIbuild.sh
parentMerge pull request #3410 from cuberite/message_json (diff)
parentCI: API test defaults to failure, unless explicitly succeeded. (diff)
downloadcuberite-471ae7e47b0567e6af61add708805692ca89d681.tar
cuberite-471ae7e47b0567e6af61add708805692ca89d681.tar.gz
cuberite-471ae7e47b0567e6af61add708805692ca89d681.tar.bz2
cuberite-471ae7e47b0567e6af61add708805692ca89d681.tar.lz
cuberite-471ae7e47b0567e6af61add708805692ca89d681.tar.xz
cuberite-471ae7e47b0567e6af61add708805692ca89d681.tar.zst
cuberite-471ae7e47b0567e6af61add708805692ca89d681.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