3 if [ "x$COVERAGE" = "xyes" ]; then
6 # find / -name "coveralls"
7 # this is only needed for mac os x builds!
8 PATH=$PATH:/Users/travis/Library/Python/2.7/bin/
11 # exclude some directories from profiling (.libs is from autotools)
12 export EXCLUDE_COVERAGE="--exclude plugins
13 --exclude sassc/sassc.c
14 --exclude src/sass-spec
16 --exclude src/debug.hpp
17 --exclude src/json.cpp
18 --exclude src/json.hpp
19 --exclude src/cencode.c
22 --exclude src/utf8_string.hpp
24 --exclude src/utf8_string.cpp
25 --exclude src/sass2scss.h
26 --exclude src/sass2scss.cpp
29 --exclude src/debugger.hpp"
30 # debug used gcov version
31 # option not available on mac
32 if [ "$TRAVIS_OS_NAME" != "osx" ]; then
35 # create summarized report
37 # submit report to coveralls.io
38 coveralls $EXCLUDE_COVERAGE --gcov-options '\-lp'
41 echo "skip coverage reporting"