Sha256: c7bfb1eaa97f3100d7940b4e2b247206629925be5029a33d1f2a060b1f972814

Contents?: true

Size: 1.06 KB

Versions: 20

Compression:

Stored size: 1.06 KB

Contents

#!/bin/bash

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

  # exclude some directories from profiling (.libs is from autotools)
  export EXCLUDE_COVERAGE="--exclude sassc --exclude sass-spec
                             --exclude .libs --exclude debug.hpp
                             --exclude json.cpp --exclude json.hpp
                             --exclude cencode.c --exclude b64
                             --exclude utf8 --exclude utf8_string.hpp
                             --exclude utf8.h --exclude utf8_string.cpp
                             --exclude sass2scss.h --exclude sass2scss.cpp
                             --exclude test --exclude posix
                             --exclude debugger.hpp"
  # debug via gcovr
  gcov -v
  gcovr -r .
  # debug via coveralls (dump result for futher analyzing)
  coveralls $EXCLUDE_COVERAGE --gcov-options '\-lp' --dump coveralls.json
  # analyze the resulting json
  ./script/coveralls-debug
  # generate and submit report to coveralls.io
  coveralls $EXCLUDE_COVERAGE --gcov-options '\-lp'

else
  echo "skip coverage reporting"
fi

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
sassc-1.8.1 ext/libsass/script/ci-report-coverage
sassc-1.8.0 ext/libsass/script/ci-report-coverage
sassc-1.8.0.pre2 ext/libsass/script/ci-report-coverage
sassc-1.8.0.pre1 ext/libsass/script/ci-report-coverage
gulp_assets-1.0.0.pre.5 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/script/ci-report-coverage
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/script/ci-report-coverage
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-sass/node_modules/node-sass/src/libsass/script/ci-report-coverage
sassc-1.7.1 ext/libsass/script/ci-report-coverage
sassc-1.7.0 ext/libsass/script/ci-report-coverage
sassc-1.6.0 ext/libsass/script/ci-report-coverage
sassc-1.5.1 ext/libsass/script/ci-report-coverage
sassc-1.5.0 ext/libsass/script/ci-report-coverage
sassc-1.4.0 ext/libsass/script/ci-report-coverage
sassc-1.3.0 ext/libsass/script/ci-report-coverage
sassc-1.2.0 ext/libsass/script/ci-report-coverage
sassc-1.1.2 ext/libsass/script/ci-report-coverage
sassc-1.1.1 ext/libsass/script/ci-report-coverage
sassc-1.1.0 ext/libsass/script/ci-report-coverage
sassc-1.0.0 ext/libsass/script/ci-report-coverage
sassc-0.0.11 ext/libsass/script/ci-report-coverage