Travis: adds --without-maxmind option

This commit is contained in:
Felipe Zimmerle 2018-03-21 20:40:19 -03:00
parent df169ea108
commit 15b38fbe5d
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

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