mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
f6ace9962d
- Valgrind configuration removed - Fix errors reported by the undefined behavior sanitizer - Travis will now run two build steps: - A normal build of a shared library for unit testing(in parallel with gcc) - A clang build with some sanitizers enabled for integration testing. After these changes travis will run much faster, while providing valgrind-like error detection.
20 lines
652 B
Bash
Executable File
20 lines
652 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# [ "$CC" != "clang" ] && exit
|
|
|
|
add-apt-repository -y ppa:ubuntu-toolchain-r/ppa
|
|
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -
|
|
|
|
cat > /etc/apt/sources.list.d/clang.list << "EOF"
|
|
deb http://llvm.org/apt/precise/ llvm-toolchain-precise main
|
|
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise main
|
|
# 3.4
|
|
deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
|
|
deb-src http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main
|
|
# Common
|
|
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main
|
|
EOF
|
|
|
|
apt-get -qq update
|
|
apt-get -qq -y --no-install-recommends install clang-3.4 lldb-3.4
|