aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-01-12 15:36:54 +0100
committerGitHub <noreply@github.com>2018-01-12 15:36:54 +0100
commit7e50529867d4ad0e405f0d850a3d2a1a08d0121b (patch)
tree985ef52d40ca259b2c586ec20d5a8fad480fb1d3
parent6f2fe8a554f01b5697112c8875e02ef52b1ef69e (diff)
downloadminetest-7e50529867d4ad0e405f0d850a3d2a1a08d0121b.tar.gz
minetest-7e50529867d4ad0e405f0d850a3d2a1a08d0121b.tar.bz2
minetest-7e50529867d4ad0e405f0d850a3d2a1a08d0121b.zip
Add a build step to test non freetype builds (#6908)
* Add a build step to test non freetype builds
-rw-r--r--.travis.yml9
-rwxr-xr-xutil/travis/script.sh4
2 files changed, 13 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 77c405b69..0fb29fc7d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -70,6 +70,15 @@ matrix:
sources: &sources
- llvm-toolchain-trusty-5.0
+ - env: PLATFORM=Unix COMPILER=clang-5.0 FREETYPE=0
+ compiler: clang
+ os: linux
+ addons:
+ apt:
+ packages: ['clang-5.0', 'clang++-5.0']
+ sources: &sources
+ - llvm-toolchain-trusty-5.0
+
- env: PLATFORM=Unix COMPILER=clang-5.0 VALGRIND=1
compiler: clang
os: linux
diff --git a/util/travis/script.sh b/util/travis/script.sh
index e5be1fe32..c68638db4 100755
--- a/util/travis/script.sh
+++ b/util/travis/script.sh
@@ -22,6 +22,10 @@ if [[ ${PLATFORM} == "Unix" ]]; then
CMAKE_FLAGS+=' -DCUSTOM_GETTEXT_PATH=/usr/local/opt/gettext'
fi
+ if [[ -n "${FREETYPE}" ]] && [[ "${FREETYPE}" == "0" ]]; then
+ CMAKE_FLAGS+=' -DENABLE_FREETYPE=0'
+ fi
+
cmake -DCMAKE_BUILD_TYPE=Debug \
-DRUN_IN_PLACE=TRUE \
-DENABLE_GETTEXT=TRUE \