Skip to content

Commit 7e50529

Browse files
authoredJan 12, 2018
Add a build step to test non freetype builds (#6908)
* Add a build step to test non freetype builds
1 parent 6f2fe8a commit 7e50529

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
 

‎.travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ matrix:
7070
sources: &sources
7171
- llvm-toolchain-trusty-5.0
7272

73+
- env: PLATFORM=Unix COMPILER=clang-5.0 FREETYPE=0
74+
compiler: clang
75+
os: linux
76+
addons:
77+
apt:
78+
packages: ['clang-5.0', 'clang++-5.0']
79+
sources: &sources
80+
- llvm-toolchain-trusty-5.0
81+
7382
- env: PLATFORM=Unix COMPILER=clang-5.0 VALGRIND=1
7483
compiler: clang
7584
os: linux

‎util/travis/script.sh

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ if [[ ${PLATFORM} == "Unix" ]]; then
2222
CMAKE_FLAGS+=' -DCUSTOM_GETTEXT_PATH=/usr/local/opt/gettext'
2323
fi
2424

25+
if [[ -n "${FREETYPE}" ]] && [[ "${FREETYPE}" == "0" ]]; then
26+
CMAKE_FLAGS+=' -DENABLE_FREETYPE=0'
27+
fi
28+
2529
cmake -DCMAKE_BUILD_TYPE=Debug \
2630
-DRUN_IN_PLACE=TRUE \
2731
-DENABLE_GETTEXT=TRUE \

0 commit comments

Comments
 (0)
Please sign in to comment.