Skip to content

Commit 21112a9

Browse files
author
Sebastiano Merlino
committed
Adding coverage options to travis build
1 parent 4e4814c commit 21112a9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.travis.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ compiler:
55
# Change this to your needs
66
before_install:
77
- sudo apt-get install texinfo
8+
- sudo pip install cpp-coveralls
89
- wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.37.tar.gz
910
- tar -xvzf libmicrohttpd-0.9.37.tar.gz
1011
- cd libmicrohttpd-0.9.37
@@ -16,7 +17,7 @@ script:
1617
- ./bootstrap
1718
- mkdir build
1819
- cd build
19-
- ../configure
20+
- ../configure --enable-gcov
2021
- make
2122
- make check
2223
- cd ..
@@ -27,3 +28,5 @@ script:
2728
# - make
2829
# - make check
2930
# - cd ..
31+
after_success:
32+
- coveralls --exclude lib --exclude tests --gcov-options '\-lp'

0 commit comments

Comments
 (0)