Code

.travis.yml: Use --enable-gcov which will fix clang builds.
[sysdb.git] / .travis.yml
index b227ad6d084fac1ae1b02fbef45e2a68ea873ead..f0a3403e855b8c4b7c03236eb6bae17310d63946 100644 (file)
@@ -7,9 +7,12 @@ before_install:
 install:
   - sudo apt-get install -qq check flex bison libtool
   - sudo apt-get install -qq libdbi-dev libedit-dev libltdl-dev
+  - sudo pip install cpp-coveralls --use-mirrors
 before_script:
   - ./autogen.sh
-script: ./configure CFLAGS="-Wno-sign-conversion" && make && make test
+script: ./configure --enable-gcov CFLAGS="-O0 -Wno-sign-conversion" && make && make test
+after_success:
+  - coveralls --exclude t --verbose
 branches:
   only:
     - master