mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Having Travis working again
This commit is contained in:
parent
f948d637f2
commit
b3cfd88819
16
.travis.yml
16
.travis.yml
@ -11,6 +11,14 @@ addons:
|
||||
- liblmdb-dev
|
||||
- cppcheck
|
||||
|
||||
homebrew:
|
||||
packages:
|
||||
- cppcheck
|
||||
- libmaxminddb
|
||||
- lmdb
|
||||
- yajl
|
||||
update: true
|
||||
|
||||
language: cpp
|
||||
|
||||
compiler:
|
||||
@ -21,6 +29,8 @@ os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
osx_image: xcode12
|
||||
|
||||
env:
|
||||
- OPTS="--enable-parser-generation $OPTS"
|
||||
- OPTS="--without-curl $OPTS"
|
||||
@ -31,17 +41,15 @@ env:
|
||||
- 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" != 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'
|
||||
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get install -y libmaxminddb-dev'
|
||||
|
||||
|
||||
script:
|
||||
- ./build.sh
|
||||
- ./configure $OPTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user