Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
|
f8ed6ade48 | ||
|
7a74a2ca45 | ||
|
32e6b0507c |
2 changed files with 29 additions and 9 deletions
34
.travis.yml
34
.travis.yml
|
@ -30,17 +30,33 @@ matrix:
|
|||
packages: [ 'clang-3.5' ]
|
||||
- os: linux
|
||||
sudo: false
|
||||
compiler: ": clang-coverage"
|
||||
env: JOBS=8 COVERAGE=true LLVM_VERSION="3.5" CXX="ccache clang++-3.5 -Qunused-arguments" CC="clang-3.5"
|
||||
compiler: ": clang-address"
|
||||
env: JOBS=8 SANITIZE_ADDRESS=True CXX="ccache clang++-3.6 -Qunused-arguments" CC="clang-3.6"
|
||||
addons:
|
||||
apt:
|
||||
sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ]
|
||||
packages: [ 'clang-3.5', 'llvm-3.5-dev' ]
|
||||
- os: osx
|
||||
compiler: clang
|
||||
# https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions
|
||||
osx_image: xcode7.3 # upgrades clang from 6 -> 7
|
||||
env: JOBS=4 MASON_PUBLISH=true
|
||||
sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6' ]
|
||||
packages: [ 'clang-3.6' ]
|
||||
- os: linux
|
||||
sudo: false
|
||||
compiler: ": clang-thread"
|
||||
env: JOBS=8 SANITIZE_THREAD=True CXX="ccache clang++-3.7 -Qunused-arguments" CC="clang-3.7"
|
||||
addons:
|
||||
apt:
|
||||
sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7' ]
|
||||
packages: [ 'clang-3.7' ]
|
||||
# - os: linux
|
||||
# sudo: false
|
||||
# compiler: ": clang-coverage"
|
||||
# env: JOBS=8 COVERAGE=true LLVM_VERSION="3.5" CXX="ccache clang++-3.5 -Qunused-arguments" CC="clang-3.5"
|
||||
# addons:
|
||||
# apt:
|
||||
# sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5' ]
|
||||
# packages: [ 'clang-3.5', 'llvm-3.5-dev' ]
|
||||
# - os: osx
|
||||
# compiler: clang
|
||||
# # https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions
|
||||
# osx_image: xcode7.3 # upgrades clang from 6 -> 7
|
||||
# env: JOBS=4 MASON_PUBLISH=true
|
||||
|
||||
before_install:
|
||||
- source scripts/travis-common.sh
|
||||
|
|
|
@ -91,6 +91,10 @@ configure () {
|
|||
./configure "$@" PREFIX=${MASON_PREFIX} \
|
||||
PATH_REPLACE='' MAPNIK_BUNDLED_SHARE_DIRECTORY=True \
|
||||
RUNTIME_LINK='static' WARNING_CXXFLAGS="-Wno-unknown-warning-option"
|
||||
elif enabled ${SANITIZE_ADDRESS}; then
|
||||
./configure "$@" OPTIMIZATION=1 CUSTOM_CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer" CUSTOM_LDFLAGS="-fsanitize=address"
|
||||
elif enabled ${SANITIZE_THREAD}; then
|
||||
./configure "$@" OPTIMIZATION=1 CUSTOM_CXXFLAGS="-fsanitize=thread -fno-omit-frame-pointer" CUSTOM_LDFLAGS="-fsanitize=thread"
|
||||
else
|
||||
./configure "$@" WARNING_CXXFLAGS="-Wno-unknown-warning-option"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue