Enable ASAN in travis autotools build
This commit is contained in:
parent
6ba1abac6c
commit
0ea44072a3
|
@ -43,6 +43,7 @@ before_script:
|
||||||
- git clone https://github.com/tatsuhiro-t/spdylay.git
|
- git clone https://github.com/tatsuhiro-t/spdylay.git
|
||||||
- cd spdylay
|
- cd spdylay
|
||||||
- autoreconf -i
|
- autoreconf -i
|
||||||
|
# Don't use ASAN for spdylay since failmalloc does not work with it.
|
||||||
- ./configure --disable-src --disable-examples
|
- ./configure --disable-src --disable-examples
|
||||||
- make check
|
- make check
|
||||||
- export SPDYLAY_HOME=$PWD
|
- export SPDYLAY_HOME=$PWD
|
||||||
|
@ -50,15 +51,13 @@ before_script:
|
||||||
# Now build nghttp2
|
# Now build nghttp2
|
||||||
- if [ "$CI_BUILD" = "autotools" ]; then autoreconf -i; fi
|
- if [ "$CI_BUILD" = "autotools" ]; then autoreconf -i; fi
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- if [ "$CI_BUILD" = "autotools" ]; then ./configure --enable-werror --with-mruby --with-neverbleed LIBSPDYLAY_CFLAGS="-I$SPDYLAY_HOME/lib/includes" LIBSPDYLAY_LIBS="-L$SPDYLAY_HOME/lib/.libs -lspdylay"; fi
|
- if [ "$CI_BUILD" = "autotools" ]; then ./configure --enable-werror --with-mruby --with-neverbleed LIBSPDYLAY_CFLAGS="-I$SPDYLAY_HOME/lib/includes" LIBSPDYLAY_LIBS="-L$SPDYLAY_HOME/lib/.libs -lspdylay" CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address; fi
|
||||||
- if [ "$CI_BUILD" = "cmake" ]; then cmake -DENABLE_WERROR=1 -DWITH_MRUBY=1 -DWITH_NEVERBLEED=1 -DSPDYLAY_INCLUDE_DIR="$SPDYLAY_HOME/lib/includes" -DSPDYLAY_LIBRARY="$SPDYLAY_HOME/lib/.libs/libspdylay.so"; fi
|
- if [ "$CI_BUILD" = "cmake" ]; then cmake -DENABLE_WERROR=1 -DWITH_MRUBY=1 -DWITH_NEVERBLEED=1 -DSPDYLAY_INCLUDE_DIR="$SPDYLAY_HOME/lib/includes" -DSPDYLAY_LIBRARY="$SPDYLAY_HOME/lib/.libs/libspdylay.so"; fi
|
||||||
script:
|
script:
|
||||||
- make
|
|
||||||
- make check
|
- make check
|
||||||
- cd integration-tests
|
|
||||||
# As of April, 23, 2016, golang http2 build fails, probably because
|
# As of April, 23, 2016, golang http2 build fails, probably because
|
||||||
# the default go version is too old.
|
# the default go version is too old.
|
||||||
|
# - cd integration-tests
|
||||||
# - export GOPATH="$PWD/integration-tests/golang"
|
# - export GOPATH="$PWD/integration-tests/golang"
|
||||||
# - make itprep
|
# - make itprep
|
||||||
# - make it
|
# - make it
|
||||||
|
|
Loading…
Reference in New Issue