Skip to content

Commit

Permalink
Enable coveralls for CI, take 8
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Apr 28, 2015
1 parent 788b3ea commit 39e35a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ make
ctest -V

if [ "$CC" == "gcc" ]; then
make coverage
# For some reason, this needs clean build
rm -rf *
cmake $SOURCE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCOVERAGE=ON -DCUSTOM_ALLOC=$CUSTOM_ALLOC
make
ctest
lcov --capture --directory . --output-file coverage.info
coveralls-lcov coverage.info
fi

Expand Down

0 comments on commit 39e35a3

Please sign in to comment.