From 79a24ef88d136a55c0dda8968b061e0b4f72c60b Mon Sep 17 00:00:00 2001 From: WGH Date: Fri, 25 Jan 2019 15:44:41 +0300 Subject: [PATCH] Enable LMDB in Travis CI configuration LMBD is not built by default since 6143eb9, so add explicit --with-lmdb configuration. Missing --with-lmdb build allowed a bug in PR #2003 to pass through, causing issue #2008. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a99d8480..0f7e924b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ env: - OPTS="--without-curl $OPTS" - OPTS="--without-yajl $OPTS" - OPTS="--without-geoip $OPTS" - - OPTS="--without-lmdb $OPTS" + - OPTS="--with-lmdb $OPTS" - OPTS="--without-ssdeep $OPTS" - OPTS="--without-lua $OPTS" - OPTS="--without-maxmind $OPTS" @@ -36,6 +36,7 @@ before_script: - '[ "$TRAVIS_OS_NAME" != osx ] || brew update' - '[ "$TRAVIS_OS_NAME" != osx ] || brew install cppcheck' - '[ "$TRAVIS_OS_NAME" != osx ] || brew install libmaxminddb' + - '[ "$TRAVIS_OS_NAME" != osx ] || brew install lmdb' - '[ "$TRAVIS_OS_NAME" != linux ] || sudo add-apt-repository --yes ppa:maxmind/ppa' - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get update' - '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-cache search maxmind'