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
|
- liblmdb-dev
|
||||||
- cppcheck
|
- cppcheck
|
||||||
|
|
||||||
|
homebrew:
|
||||||
|
packages:
|
||||||
|
- cppcheck
|
||||||
|
- libmaxminddb
|
||||||
|
- lmdb
|
||||||
|
- yajl
|
||||||
|
update: true
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
@ -21,6 +29,8 @@ os:
|
|||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
|
osx_image: xcode12
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- OPTS="--enable-parser-generation $OPTS"
|
- OPTS="--enable-parser-generation $OPTS"
|
||||||
- OPTS="--without-curl $OPTS"
|
- OPTS="--without-curl $OPTS"
|
||||||
@ -31,17 +41,15 @@ env:
|
|||||||
- OPTS="--without-lua $OPTS"
|
- OPTS="--without-lua $OPTS"
|
||||||
- OPTS="--without-maxmind $OPTS"
|
- OPTS="--without-maxmind $OPTS"
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo $TRAVIS_OS_NAME
|
- 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 add-apt-repository --yes ppa:maxmind/ppa'
|
||||||
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get update'
|
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get update'
|
||||||
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-cache search maxmind'
|
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-cache search maxmind'
|
||||||
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get install -y libmaxminddb-dev'
|
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get install -y libmaxminddb-dev'
|
||||||
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
- ./configure $OPTS
|
- ./configure $OPTS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user