mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
42 lines
592 B
YAML
42 lines
592 B
YAML
dist: trusty
|
|
sudo: false
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libyajl-dev
|
|
- libgeoip-dev
|
|
- liblmdb-dev
|
|
- cppcheck
|
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
env:
|
|
- OPTS="--enable-parser-generation $OPTS"
|
|
- OPTS="--without-curl $OPTS"
|
|
- OPTS="--without-yajl $OPTS"
|
|
- OPTS="--without-geoip $OPTS"
|
|
- OPTS="--without-lmdb $OPTS"
|
|
|
|
before_script:
|
|
- '[ "$TRAVIS_OS_NAME" != osx ] || brew update'
|
|
- '[ "$TRAVIS_OS_NAME" != osx ] || brew install cppcheck'
|
|
|
|
script:
|
|
- ./build.sh
|
|
- ./configure $OPTS
|
|
- make
|
|
- make check
|
|
- make check-static
|
|
|
|
|
|
|