Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : ci-report-coverage
#!/bin/bash

if [ "x$COVERAGE" = "xyes" ]; then

  # find / -name "gcovr"
  # find / -name "coveralls"
  # this is only needed for mac os x builds!
  PATH=$PATH:/Users/travis/Library/Python/2.7/bin/


  # exclude some directories from profiling (.libs is from autotools)
  export EXCLUDE_COVERAGE="--exclude plugins
                           --exclude sassc/sassc.c
                           --exclude src/sass-spec
                           --exclude src/.libs
                           --exclude src/debug.hpp
                           --exclude src/json.cpp
                           --exclude src/json.hpp
                           --exclude src/cencode.c
                           --exclude src/b64
                           --exclude src/utf8
                           --exclude src/utf8_string.hpp
                           --exclude src/utf8.h
                           --exclude src/utf8_string.cpp
                           --exclude src/sass2scss.h
                           --exclude src/sass2scss.cpp
                           --exclude src/test
                           --exclude src/posix
                           --exclude src/debugger.hpp"
  # debug used gcov version
  # option not available on mac
  if [ "$TRAVIS_OS_NAME" != "osx" ]; then
    gcov -v
  fi
  # create summarized report
  gcovr -r .
  # submit report to coveralls.io
  coveralls $EXCLUDE_COVERAGE --gcov-options '\-lp'

else
  echo "skip coverage reporting"
fi
© 2026 GrazzMean