Skip to content

Commit

Permalink
Add a build step to test non freetype builds (#6908)
Browse files Browse the repository at this point in the history
* Add a build step to test non freetype builds
  • Loading branch information
nerzhul committed Jan 12, 2018
1 parent 6f2fe8a commit 7e50529
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions util/travis/script.sh
Expand Up @@ -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 \
Expand Down

0 comments on commit 7e50529

Please sign in to comment.