Skip to content

Commit

Permalink
Start providing our coverage info to Coveralls.io, for tracking.
Browse files Browse the repository at this point in the history
  • Loading branch information
Castaglia committed Mar 25, 2017
1 parent fdc5400 commit 7cbc448
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ script:
- ./configure --enable-devel=coverage --enable-tests --with-modules=mod_statsd
- make
- cd contrib/mod_statsd && make TEST_VERBOSE=1 check && cd ../../

after_success:
- cd ${TRAVIS_BUILD_DIR}
# capture the test coverage info
- lcov --ignore-errors gcov,source --base-directory ${TRAVIS_BUILD_DIR}/proftpd/contrib/mod_statsd --directory proftpd/contrib/mod_statsd --capture --output-file coverage.info
# filter out system and test code
- lcov --remove coverage.info 'api/*' 't/*' '/usr/*' --output-file coverage.info
# debug before upload
- lcov --list coverage.info
# upload coverage info to coveralls
- coveralls-lcov coverage.info

0 comments on commit 7cbc448

Please sign in to comment.