diff options
author | James McCoy <jamessan@jamessan.com> | 2020-08-27 22:50:38 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2020-09-04 10:59:16 -0400 |
commit | 2516386c6b40f5c313d33f838facb40ce5796b23 (patch) | |
tree | 60465c52b41b7a8c68350d8f6dfdc0044ebff019 | |
parent | 16e69eae704c18f6081dac6802e106ad78c65288 (diff) | |
download | rneovim-2516386c6b40f5c313d33f838facb40ce5796b23.tar.gz rneovim-2516386c6b40f5c313d33f838facb40ce5796b23.tar.bz2 rneovim-2516386c6b40f5c313d33f838facb40ce5796b23.zip |
travis: Install clang-11 for ASAN/UBSAN job
[skip appveyor]
-rw-r--r-- | .travis.yml | 11 | ||||
-rw-r--r-- | ci/common/test.sh | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index f13c362bc2..4aebae3986 100644 --- a/.travis.yml +++ b/.travis.yml @@ -99,12 +99,21 @@ jobs: - stage: baseline name: clang-asan os: linux - compiler: clang + compiler: clang-11 # Use Lua so that ASAN can test our embedded Lua support. 8fec4d53d0f6 env: - CLANG_SANITIZER=ASAN_UBSAN - CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON" + - SYMBOLIZER=asan_symbolize-11 - *common-job-env + addons: + apt: + sources: + - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' + key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' + packages: + - *common-apt-packages + - clang-11 - name: gcc-coverage (gcc 9) os: linux compiler: gcc-9 diff --git a/ci/common/test.sh b/ci/common/test.sh index b2fbeaf2da..4ef6260339 100644 --- a/ci/common/test.sh +++ b/ci/common/test.sh @@ -82,7 +82,7 @@ valgrind_check() { check_sanitizer() { if test -n "${CLANG_SANITIZER}"; then - check_logs "${1}" "*san.*" + check_logs "${1}" "*san.*" | ${SYMBOLIZER:-cat} fi } |