Add cpp-coveralls
@@ -7,18 +7,23 @@ compiler:
before_install:
- sudo apt-get update -qq
- - sudo apt-get install valgrind libpng-dev libjpeg-dev libxml2-dev libfreetype6-dev libx11-dev -qq
+ - sudo apt-get install valgrind libpng-dev libjpeg-dev libxml2-dev libfreetype6-dev libx11-dev lcov -qq
+ - pip install --user cpp-coveralls
before_script: ./autogen.sh
script:
- - ./configure
+ - ./configure --enable-code-coverage
- make
+ - make check
- cd test
- make
- ./test
- valgrind --leak-check=full --error-exitcode=42 .libs/lt-test
+after_success:
+ - coveralls --gcov-options '\-lp'
+
notifications:
webhooks:
urls:
