run coverage for travis

This commit is contained in:
Klas Lindfors
2015-01-20 10:03:42 +01:00
parent d2e0a3bc79
commit c611913a38
3 changed files with 11 additions and 6 deletions
+5 -2
View File
@@ -1,7 +1,6 @@
#!/bin/sh
set -e
set -x
autoreconf -i
@@ -13,6 +12,10 @@ if [ "x$ARCH" != "x" ]; then
make -f windows.mk ${ARCH}bit VERSION=$version
else
./configure
./configure $COVERAGE
make check
if [ "x$COVERAGE" != "x" ]; then
gem install coveralls-lcov
coveralls-lcov --repo-token $COVERALLS_TOKEN coverage/app2.info
fi
fi