1dist: xenial 2language: C 3 4os: 5 - linux 6 7cache: 8 - apt 9 - pip 10 11env: 12 global: 13 - VER_NGINX=1.9.11 14 - COV=0 15 16compiler: 17 - clang 18 - gcc 19 20addons: 21 apt: 22 packages: 23 - lcov 24 - cpanminus 25 26install: 27 - gem install coveralls-lcov 28 - cd ./naxsi_src 29 - if [ "$CC" == "clang" ]; then COV=0; fi 30 - make 31 - sudo cpanm -v --notest Test::Nginx 32 33before_script: 34 - lcov --directory "../nginx-${VER_NGINX}" --zerocounters 35 36script: make test 37 38after_failure: 39 - cat ../t/servroot/logs/error.log 40 - cat /tmp/ngx_error.log 41 - cat /tmp/ngx_access.log 42 43