From 64fd3bec684124f295014c739892800c149ff69e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 19 Aug 2020 16:23:09 +0200 Subject: [PATCH] travis: test against recent memcached --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ..; -- 2.30.2