From 9714753fe9d8c88ebe7edbc3c777f33f006e31f3 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 18 Feb 2020 15:45:07 +0100 Subject: [PATCH] travis: fix defaults --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 409518b1..d5ed3f67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,19 +26,19 @@ install: if ${SASL}; then git clone -b 1.5.9 https://github.com/memcached/memcached && - cd memcached && + cd memcached && ./autogen.sh && CFLAGS="-O2 -pipe" ./configure --prefix=/opt --disable-dependency-tracking --enable-sasl --enable-sasl-pwdb --disable-coverage --disable-docs && make && make install && /opt/bin/memcached -l 127.0.0.1 -p ${MEMCACHED_PORT} -U ${MEMCACHED_PORT} -m 128 & fi before_script: - - echo stats settings | nc -q 0 localhost ${MEMCACHED_PORT:11211} | column -t + - echo stats settings | nc -q 0 localhost ${MEMCACHED_PORT:-11211} | column -t - mkdir build script: - cd build - - cmake -DCMAKE_BUILD_TYPE=${BUILD} -DENABLE_SASL=${SASL} -DMEMCACHED_BINARY=${MEMCACHED_BINARY:/usr/bin/memcached} .. + - cmake -DCMAKE_BUILD_TYPE=${BUILD} -DENABLE_SASL=${SASL} -DMEMCACHED_BINARY=${MEMCACHED_BINARY:-/usr/bin/memcached} .. - make - make test - make install DESTDIR=. -- 2.30.2