mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Using GitHub Workflow instead of Travis
Changes QA badge to GitHub
This commit is contained in:
parent
b3cfd88819
commit
33f7b46bcc
69
.travis.yml
69
.travis.yml
@ -1,69 +0,0 @@
|
||||
dist: trusty
|
||||
sudo: true
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libfuzzy-dev
|
||||
- libyajl-dev
|
||||
- libgeoip-dev
|
||||
- liblua5.2-dev
|
||||
- liblmdb-dev
|
||||
- cppcheck
|
||||
|
||||
homebrew:
|
||||
packages:
|
||||
- cppcheck
|
||||
- libmaxminddb
|
||||
- lmdb
|
||||
- yajl
|
||||
update: true
|
||||
|
||||
language: cpp
|
||||
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
osx_image: xcode12
|
||||
|
||||
env:
|
||||
- OPTS="--enable-parser-generation $OPTS"
|
||||
- OPTS="--without-curl $OPTS"
|
||||
- OPTS="--without-yajl $OPTS"
|
||||
- OPTS="--without-geoip $OPTS"
|
||||
- OPTS="--with-lmdb $OPTS"
|
||||
- OPTS="--without-ssdeep $OPTS"
|
||||
- OPTS="--without-lua $OPTS"
|
||||
- OPTS="--without-maxmind $OPTS"
|
||||
|
||||
|
||||
before_script:
|
||||
- echo $TRAVIS_OS_NAME
|
||||
- '[ "$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
|
||||
- make parser
|
||||
- make parser
|
||||
- make -j$(getconf _NPROCESSORS_ONLN) || make -j$(getconf _NPROCESSORS_ONLN) || make
|
||||
#
|
||||
# Temporarily disabled.
|
||||
# - make -j$(getconf _NPROCESSORS_ONLN)
|
||||
# Leading build to crash with parser enabled.
|
||||
# Not sure why.
|
||||
#
|
||||
- make check -j$(getconf _NPROCESSORS_ONLN)
|
||||
- make check-static
|
||||
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
<img src="https://github.com/SpiderLabs/ModSecurity/raw/v3/master/others/modsec.png" width="50%">
|
||||
|
||||
[](https://travis-ci.org/SpiderLabs/ModSecurity)
|
||||
[](https://zenhub.com)
|
||||

|
||||
[](https://sonarcloud.io/dashboard?id=USHvY32Uy62L)
|
||||
[](https://sonarcloud.io/dashboard?id=USHvY32Uy62L)
|
||||
|
Loading…
x
Reference in New Issue
Block a user