CI builds fail on newly undocumented API.
This commit is contained in:
parent
96879aa866
commit
c9f2b4e4df
15
CIbuild.sh
15
CIbuild.sh
@ -21,8 +21,19 @@ cd ..
|
|||||||
echo "Building..."
|
echo "Building..."
|
||||||
make -j 2;
|
make -j 2;
|
||||||
make -j 2 test ARGS="-V";
|
make -j 2 test ARGS="-V";
|
||||||
|
|
||||||
|
echo "Testing..."
|
||||||
cd Server/;
|
cd Server/;
|
||||||
if [ "$TRAVIS_CUBERITE_BUILD_TYPE" != "COVERAGE" ]; then
|
if [ "$TRAVIS_CUBERITE_BUILD_TYPE" != "COVERAGE" ]; then
|
||||||
echo restart | $CUBERITE_PATH;
|
$CUBERITE_PATH << EOF
|
||||||
echo stop | $CUBERITE_PATH;
|
load APIDump
|
||||||
|
apicheck
|
||||||
|
restart
|
||||||
|
stop
|
||||||
|
EOF
|
||||||
|
if [ -f ./NewlyUndocumented.lua ]; then
|
||||||
|
echo "ERROR: Newly undocumented API symbols found:"
|
||||||
|
cat ./NewlyUndocumented.lua
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user