From: Michael Wallner Date: Wed, 19 Aug 2020 14:23:09 +0000 (+0200) Subject: travis: test against recent memcached X-Git-Tag: 1.1.0-beta1~239 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=64fd3bec684124f295014c739892800c149ff69e;p=awesomized%2Flibmemcached travis: test against recent memcached --- diff --git a/.travis.yml b/.travis.yml index cd9f79fe..03cf473f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,14 +17,15 @@ compiler: env: - BUILD=Release SASL=false - - BUILD=Debug SASL=true PREFIX=/opt PORT=11212 + - 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 #before_install: install: - | - if ${SASL}; + if ${SASL} || test -n "$MC_VERSION"; then - git clone -b 1.5.9 https://github.com/memcached/memcached && + git clone -b ${MC_VERSION:-1.5.22} https://github.com/memcached/memcached && cd memcached && ./autogen.sh && CFLAGS="-O2 -pipe" ./configure --prefix=${PREFIX} --disable-dependency-tracking --enable-sasl --enable-sasl-pwdb --disable-coverage --disable-docs && make -j2 && make install && cd ..;