Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
5675aca1
Commit
5675aca1
authored
Aug 18, 2017
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Getting ASAN/UBSAN build in travis, take 2
Travis sets CC _after_ before_install so use a different variable.
parent
fe92484e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
.travis.yml
.travis.yml
+4
-3
No files found.
.travis.yml
View file @
5675aca1
...
...
@@ -12,13 +12,13 @@ matrix:
-
os
:
linux
dist
:
trusty
compiler
:
clang
env
:
C
C=clang-
4.0
env
:
C
LANG=
4.0
-
os
:
osx
osx_image
:
xcode8.3
compiler
:
clang
allow_failures
:
-
os
:
osx
-
env
:
C
C=clang-
4.0
-
env
:
C
LANG=
4.0
addons
:
apt
:
packages
:
...
...
@@ -28,13 +28,14 @@ before_install:
brew update;
brew install docutils nghttp2;
fi
-
if [[ "$C
C" == "clang-
4.0" ]]; then
-
if [[ "$C
LANG" == "
4.0" ]]; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key |
sudo apt-key add -;
sudo apt-add-repository -y
'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main';
sudo apt-get update;
sudo apt-get install -y clang-4.0;
export CC="clang-4.0";
export CONFIGURE_ARGS="--enable-asan --enable-ubsan";
export ASAN_OPTIONS="detect_odr_violation=0,detect_leaks=0";
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment