2014-01-14 13:52:21 -05:00
|
|
|
language: c
|
2013-11-18 14:35:52 -05:00
|
|
|
language: cpp
|
2013-11-17 23:58:13 -08:00
|
|
|
|
2014-03-31 17:47:29 -04:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2013-11-17 23:58:13 -08:00
|
|
|
before_install:
|
2013-11-18 14:35:52 -05:00
|
|
|
- sudo apt-get update -qq
|
2013-11-17 23:58:13 -08:00
|
|
|
|
|
|
|
install:
|
2014-06-02 18:04:35 -04:00
|
|
|
- sudo apt-get -q install protobuf-compiler libprotobuf-dev libprotoc-dev valgrind lcov
|
|
|
|
- sudo pip install cpp-coveralls
|
2013-11-17 23:58:13 -08:00
|
|
|
|
|
|
|
script:
|
2013-11-18 14:35:52 -05:00
|
|
|
- ./autogen.sh
|
2014-01-14 13:39:33 -05:00
|
|
|
- ./configure && make distcheck VERBOSE=1 && make clean
|
2014-06-02 18:04:35 -04:00
|
|
|
- ./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
|