1
0
cuberite-2a/CIbuild.sh
worktycho 8bb8c2ca7d Don't start mcserver up in coverage builds
Starting the server up is not a test.
2014-05-17 13:04:40 +01:00

12 lines
198 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1;
make -j 2;
make -j 2 test;
cd MCServer/;
if [ "$TRAVIS_MCSERVER_BUILD_TYPE" != "COVERAGE" ]
then echo stop | $MCSERVER_PATH;
fi