travis: Use Ubuntu's clang instead of llvm's repo

The llvm repos commonly have access issues, so removing them will
improve stability of the Travis builds.

Filtering check_log's output through asan_symbolize also avoids the
version dance every time a new clang version makes its way into Travis.
This commit is contained in:
James McCoy 2018-01-01 21:00:07 -05:00
parent 60716371e9
commit 90aae43984
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
2 changed files with 5 additions and 7 deletions

View File

@ -10,7 +10,7 @@ env:
# http://docs.travis-ci.com/user/speeding-up-the-build/#Paralellizing-your-build-on-one-VM
- MAKE_CMD="make -j2"
# Update PATH for pip.
- PATH="$(python2.7 -c 'import site; print(site.getuserbase())')/bin:/usr/lib/llvm-symbolizer-4.0/bin:$PATH"
- PATH="$(python2.7 -c 'import site; print(site.getuserbase())')/bin:$PATH"
# Build directory for Neovim.
- BUILD_DIR="$TRAVIS_BUILD_DIR/build"
# Build directory for third-party dependencies.
@ -53,7 +53,7 @@ jobs:
include:
- stage: sanitizers
os: linux
compiler: clang-4.0
compiler: clang
env: >
CLANG_SANITIZER=ASAN_UBSAN
CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON"
@ -81,7 +81,7 @@ jobs:
compiler: gcc-5
env: GCOV=gcov-5 CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON"
- os: linux
compiler: clang-4.0
compiler: clang
env: CLANG_SANITIZER=TSAN
allow_failures:
- env: GCOV=gcov-5 CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON"
@ -99,13 +99,12 @@ addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
packages:
- autoconf
- automake
- apport
- build-essential
- clang-4.0
- clang
- cmake
- cscope
- g++-5-multilib
@ -116,7 +115,6 @@ addons:
- language-pack-tr
- libc6-dev-i386
- libtool
- llvm-4.0-dev
- locales
- pkg-config
- unzip

View File

@ -71,7 +71,7 @@ valgrind_check() {
}
asan_check() {
check_logs "${1}" "*san.*"
check_logs "${1}" "*san.*" | asan_symbolize
}
run_unittests() {(