mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Fix compilation when YAJL is not present
This commit is contained in:
committed by
Felipe Zimmerle
parent
9d33990550
commit
6f47462110
24
.travis.yml
24
.travis.yml
@@ -1,25 +1,27 @@
|
||||
dist: trusty
|
||||
sudo: required
|
||||
sudo: false
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libyajl-dev
|
||||
- libgeoip-dev
|
||||
- liblmdb-dev
|
||||
|
||||
language: cpp
|
||||
|
||||
compiler:
|
||||
# - clang
|
||||
- clang
|
||||
- gcc
|
||||
|
||||
#before_script:
|
||||
# - wget http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.gz
|
||||
# - tar -xvzf bison-3.0.4.tar.gz
|
||||
# - cd bison-3.0.4
|
||||
# - ./configure
|
||||
# - make
|
||||
# - make install
|
||||
env:
|
||||
- OPTS="--enable-parser-generation"
|
||||
- OPTS="--without-curl"
|
||||
|
||||
|
||||
# Build steps
|
||||
script:
|
||||
- ./build.sh
|
||||
- ./configure --enable-parser-generation
|
||||
- ./configure $OPTS
|
||||
- make
|
||||
- make check
|
||||
|
||||
|
Reference in New Issue
Block a user