Sha256: 3b62f535432d39585e14c768f306944807fb4972fa0cdaa9c91f0ecd0e8cad77

Contents?: true

Size: 1.13 KB

Versions: 10

Compression:

Stored size: 1.13 KB

Contents

#!/bin/bash

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

  # exclude some directories from profiling (.libs is from autotools)
  export EXCLUDE_COVERAGE="--exclude src/sassc
                           --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 via gcovr
  gcov -v
  gcovr -r .
  # generate and submit report to coveralls.io
  coveralls $EXCLUDE_COVERAGE --gcov-options '\-lp'

else
  echo "skip coverage reporting"
fi

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
sassc-1.11.1 ext/libsass/script/ci-report-coverage
sassc-1.11.0 ext/libsass/script/ci-report-coverage
sassc-1.10.1 ext/libsass/script/ci-report-coverage
sassc-1.10.0 ext/libsass/script/ci-report-coverage
blackboard-3.1.9 lib/site_template/node_modules/node-sass/src/libsass/script/ci-report-coverage
sassc-1.9.0 ext/libsass/script/ci-report-coverage
sassc-1.8.5 ext/libsass/script/ci-report-coverage
sassc-1.8.4 ext/libsass/script/ci-report-coverage
sassc-1.8.3 ext/libsass/script/ci-report-coverage
sassc-1.8.2 ext/libsass/script/ci-report-coverage