Travis: adds --without-maxmind option

This commit is contained in:
Felipe Zimmerle
2018-03-21 20:40:19 -03:00
parent df169ea108
commit 15b38fbe5d

View File

@@ -1,5 +1,5 @@
dist: trusty dist: trusty
sudo: false sudo: true
addons: addons:
apt: apt:
@@ -29,10 +29,17 @@ env:
- OPTS="--without-lmdb $OPTS" - OPTS="--without-lmdb $OPTS"
- OPTS="--without-ssdeep $OPTS" - OPTS="--without-ssdeep $OPTS"
- OPTS="--without-lua $OPTS" - OPTS="--without-lua $OPTS"
- OPTS="--without-maxmind $OPTS"
before_script: before_script:
- echo $TRAVIS_OS_NAME
- '[ "$TRAVIS_OS_NAME" != osx ] || brew update' - '[ "$TRAVIS_OS_NAME" != osx ] || brew update'
- '[ "$TRAVIS_OS_NAME" != osx ] || brew install cppcheck' - '[ "$TRAVIS_OS_NAME" != osx ] || brew install cppcheck'
- '[ "$TRAVIS_OS_NAME" != osx ] || brew install libmaxminddb'
- '[ "$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'
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get install -y libmaxminddb-dev'
script: script:
- ./build.sh - ./build.sh