mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Travis: adds --without-maxmind option
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user