[travis] upgrade to clang 5.0 (#2544)

This commit is contained in:
Jonathan Hui
2018-02-07 17:01:29 +00:00
committed by GitHub
parent 4453ef5276
commit e09b355575
2 changed files with 22 additions and 7 deletions
+21 -6
View File
@@ -42,9 +42,14 @@ after_success:
matrix:
include:
- env: BUILD_TARGET="posix-distcheck" VERBOSE=1 VIRTUAL_TIME=1
- env: BUILD_TARGET="posix-distcheck" CC=clang-5.0 CXX=clang++-5.0 VERBOSE=1 VIRTUAL_TIME=1
os: linux
compiler: clang
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
- env: BUILD_TARGET="posix-32-bit" VERBOSE=1 VIRTUAL_TIME=1
os: linux
compiler: gcc
@@ -56,9 +61,14 @@ matrix:
compiler: gcc
- env: BUILD_TARGET="pretty-check"
os: linux
- env: BUILD_TARGET="scan-build" CC="clang" CXX="clang++"
- env: BUILD_TARGET="scan-build" CC=clang-5.0 CXX=clang++-5.0
os: linux
compiler: clang
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
- env: BUILD_TARGET="arm-gcc49"
os: linux
compiler: gcc
@@ -68,9 +78,14 @@ matrix:
- env: BUILD_TARGET="arm-gcc63"
os: linux
compiler: gcc
- env: BUILD_TARGET="posix" CC="clang" CXX="clang++"
- env: BUILD_TARGET="posix" CC=clang-5.0 CXX=clang++-5.0
os: linux
compiler: clang
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
- env: BUILD_TARGET="posix" CC="gcc" CXX="g++"
os: linux
compiler: gcc
+1 -1
View File
@@ -344,7 +344,7 @@ set -x
}
[ $BUILD_TARGET != posix-distcheck ] || {
export ASAN_SYMBOLIZER_PATH=`which llvm-symbolizer-3.4` || die
export ASAN_SYMBOLIZER_PATH=`which llvm-symbolizer-5.0` || die
export ASAN_OPTIONS=symbolize=1 || die
export DISTCHECK_CONFIGURE_FLAGS= CPPFLAGS=-DOPENTHREAD_POSIX_VIRTUAL_TIME=1 || die
./bootstrap || die