Skip to content

Commit

Permalink
Enable coveralls for CI, take 7
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Apr 28, 2015
1 parent d7dec92 commit a478bfe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions buildscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ cd /tmp/build
cmake -DCUSTOM_ALLOC=$CUSTOM_ALLOC -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON $SOURCE
make
ctest -V
ctest -T memcheck | tee memcheck.out
if grep -q 'Memory Leak\|IPW\|Uninitialized Memory Conditional\|Uninitialized Memory Read' memcheck.out; then
exit 1
fi

if [ "$CC" == "gcc" ]; then
make coverage
coveralls-lcov coverage.info
fi

ctest -T memcheck | tee memcheck.out
if grep -q 'Memory Leak\|IPW\|Uninitialized Memory Conditional\|Uninitialized Memory Read' memcheck.out; then
exit 1
fi

0 comments on commit a478bfe

Please sign in to comment.