summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7eae8c9)
raw | patch | inline | side by side (parent: 7eae8c9)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 12 Jan 2014 17:44:40 +0000 (18:44 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 12 Jan 2014 17:44:40 +0000 (18:44 +0100) |
Passing additional build flags as CICFLAGS and CILDFLAGS.
.travis.yml | patch | blob | history | |
t/cibuild.sh | patch | blob | history |
diff --git a/.travis.yml b/.travis.yml
index d3bfbe959e61494ada6cb5ff156e2c64065ac54a..3d4f12e8ee1e2766d7b9b6bdf4a8eba314a78b09 100644 (file)
--- a/.travis.yml
+++ b/.travis.yml
env:
- CIOPTIONS="--with-readline=libedit"
- CIOPTIONS="--with-readline=libreadline"
+ - CICFLAGS="-fsanitize=address -fno-omit-frame-pointer" CILDFLAGS="-fsanitize=address"
compiler:
- clang
- gcc
diff --git a/t/cibuild.sh b/t/cibuild.sh
index e0754dbc2e2e982881ce4e27fc7423198406a8f4..120d4278b9e7f404d1175cab90626a30d547650d 100755 (executable)
--- a/t/cibuild.sh
+++ b/t/cibuild.sh
set -ex
./autogen.sh
-./configure --enable-gcov $CIOPTIONS CFLAGS="-O0 -Wno-sign-conversion"
+./configure --enable-gcov $CIOPTIONS \
+ CFLAGS="-O0 -Wno-sign-conversion $CICFLAGS" \
+ LDFLAGS="$CILDFLAGS"
make clean all
make test