From: Michael Wallner Date: Tue, 29 Sep 2020 11:33:58 +0000 (+0200) Subject: travis: add sanitizer build X-Git-Tag: 1.1.0-beta1~236^2~36 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4b94cf01ca01c5385ed22a9bbb48487b82f17a63;p=m6w6%2Flibmemcached travis: add sanitizer build --- diff --git a/.travis.yml b/.travis.yml index 7ad1566b..d3d2c627 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ env: - BUILD=Release SASL=false - BUILD=Debug SASL=true PREFIX=/opt PORT=11212 MC_VERSION=1.5.22 - BUILD=Debug SASL=false PREFIX=/opt PORT=11212 MC_VERSION=1.6.6 + - BUILD=Debug SASL=true PREFIX=/opt PORT=11212 SANITIZERS=address;undefined #before_install: install: @@ -41,7 +42,7 @@ before_script: script: - cd build - - cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=${BUILD} -DENABLE_SASL=${SASL} -DMEMCACHED_BINARY=${PREFIX:-/usr}/bin/memcached .. + - cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=${BUILD} -DENABLE_SASL=${SASL} -DENABLE_SANITIZERS=${SANITIZERS} -DMEMCACHED_BINARY=${PREFIX:-/usr}/bin/memcached .. - make -j2 - make test VERBOSE=1 - make install DESTDIR=.