Code

.travis.yml: Collect and upload coverage information to coveralls.io.
authorSebastian Harl <sh@tokkee.org>
Sat, 21 Dec 2013 19:22:12 +0000 (20:22 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 21 Dec 2013 19:22:12 +0000 (20:22 +0100)
.travis.yml

index b227ad6d084fac1ae1b02fbef45e2a68ea873ead..6aa12003edf48efad351e06c04cd1261531b0700 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 CFLAGS="-O0 --coverage --no-inline -Wno-sign-conversion" && make && make test
+after_success:
+  - coveralls --exclude t
 branches:
   only:
     - master