Initial Commit
This commit is contained in:
45
naxsi-0.55.3/.travis.yml
Normal file
45
naxsi-0.55.3/.travis.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
language: C
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
cache:
|
||||
- apt
|
||||
- pip
|
||||
|
||||
env:
|
||||
global:
|
||||
- VER_NGINX=1.9.11
|
||||
- COV=1
|
||||
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lcov
|
||||
- cpanminus
|
||||
|
||||
install:
|
||||
- gem install coveralls-lcov
|
||||
- cd ./naxsi_src
|
||||
- if [ "$CC" == "clang" ]; then COV=0; fi
|
||||
- make
|
||||
- cpanm -v --notest Test::Nginx
|
||||
|
||||
before_script:
|
||||
- lcov --directory "../nginx-${VER_NGINX}" --zerocounters
|
||||
|
||||
script: make test
|
||||
|
||||
after_failure:
|
||||
- cat ../t/servroot/logs/error.log
|
||||
- cat /tmp/ngx_error.log
|
||||
- cat /tmp/ngx_access.log
|
||||
|
||||
after_success:
|
||||
- lcov --list naxsi.info
|
||||
- coveralls-lcov --repo-token ${COVERALLS_TOKEN} naxsi.info
|
||||
|
||||
Reference in New Issue
Block a user