Commit 54881f48 authored by Robert Edmonds's avatar Robert Edmonds

.travis.yml: enable code coverage checks and upload data to coveralls.io

parent e72e7e7e
......@@ -9,11 +9,14 @@ before_install:
- sudo apt-get update -qq
install:
- sudo apt-get -q install protobuf-compiler libprotobuf-dev libprotoc-dev
valgrind
- sudo apt-get -q install protobuf-compiler libprotobuf-dev libprotoc-dev valgrind lcov
- sudo pip install cpp-coveralls
script:
- ./autogen.sh
- ./configure && make distcheck VERBOSE=1 && make clean
- ./configure --enable-valgrind-tests && make distcheck
DISTCHECK_CONFIGURE_FLAGS="--enable-valgrind-tests" VERBOSE=1
- ./configure --enable-valgrind-tests && make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-valgrind-tests" VERBOSE=1 && make clean
- if [ "$CC" = "gcc" ]; then ./configure --enable-code-coverage && make && make check; fi
after_success:
- if [ "$CC" = "gcc" ]; then cpp-coveralls --build-root . --exclude t/ --exclude /usr/include; fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment