aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \