From e5e9c904413261e07a53ef42a32c2225cbebb5bc Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 4 Sep 2016 19:10:39 +0800 Subject: [PATCH] Travis: disable build server for clang --- CI/before_script.linux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CI/before_script.linux.sh b/CI/before_script.linux.sh index 9347e7be9..5eff1f282 100755 --- a/CI/before_script.linux.sh +++ b/CI/before_script.linux.sh @@ -6,10 +6,12 @@ cd build export CODE_COVERAGE=1 export RAKNET_ROOT=~/RakNet export Terra_ROOT=~/terra-Linux-x86_64-332a506 +export BUILD_SERVER=OFF if [ "${CC}" = "clang" ]; then export CODE_COVERAGE=0; else export COMPILER_NAME=gcc export CXX=g++-6 export CC=gcc-6 + export BUILD_SERVER=ON fi -${ANALYZE}cmake .. -DBUILD_WITH_CODE_COVERAGE=${CODE_COVERAGE} -DBUILD_BSATOOL=OFF -DBUILD_ESMTOOL=OFF -DBUILD_ESSIMPORTER=OFF -DBUILD_LAUNCHER=OFF -DBUILD_MWINIIMPORTER=OFF -DBUILD_MYGUI_PLUGIN=OFF -DBUILD_OPENCS=OFF -DBUILD_WIZARD=OFF -DBUILD_UNITTESTS=1 -DCMAKE_INSTALL_PREFIX=/usr -DBINDIR=/usr/games -DCMAKE_BUILD_TYPE="None" -DUSE_SYSTEM_TINYXML=TRUE -DRakNet_LIBRARY_RELEASE=~/RakNet/lib/libRakNetLibStatic.a -DRakNet_LIBRARY_DEBUG=~/RakNet/lib/libRakNetLibStatic.a +${ANALYZE}cmake .. -DBUILD_OPENMW_MP=${BUILD_SERVER} -DBUILD_WITH_CODE_COVERAGE=${CODE_COVERAGE} -DBUILD_BSATOOL=OFF -DBUILD_ESMTOOL=OFF -DBUILD_ESSIMPORTER=OFF -DBUILD_LAUNCHER=OFF -DBUILD_MWINIIMPORTER=OFF -DBUILD_MYGUI_PLUGIN=OFF -DBUILD_OPENCS=OFF -DBUILD_WIZARD=OFF -DBUILD_UNITTESTS=1 -DCMAKE_INSTALL_PREFIX=/usr -DBINDIR=/usr/games -DCMAKE_BUILD_TYPE="None" -DUSE_SYSTEM_TINYXML=TRUE -DRakNet_LIBRARY_RELEASE=~/RakNet/lib/libRakNetLibStatic.a -DRakNet_LIBRARY_DEBUG=~/RakNet/lib/libRakNetLibStatic.a