1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Travis: build matrix improvements + CPP11 build

This commit is contained in:
Loic Blot
2016-10-05 22:17:22 +02:00
committed by Ner'zhul
parent 7fab86a49d
commit 61d1751dff
5 changed files with 30 additions and 28 deletions

View File

@@ -4,6 +4,10 @@ if [[ $PLATFORM == "Unix" ]]; then
mkdir -p travisbuild
cd travisbuild || exit 1
CMAKE_FLAGS=''
if [[ $COMPILER == "g++-6" ]]; then
export CC=gcc-6
export CXX=g++-6
fi
# Clang builds with FreeType fail on Travis
if [[ $CC == "clang" ]]; then
CMAKE_FLAGS+=' -DENABLE_FREETYPE=FALSE'