commit fa20bb0131333e84acfdac80962aca3496153990
parent 47b68427c65a9af142a13b6c9829555f7d0a73e0
Author: Martin Mitas <mity@morous.org>
Date: Mon, 3 Oct 2016 23:11:00 +0200
.trevis.yml: Create coverage data and upload them to coverage.io.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
@@ -9,11 +9,13 @@ compiler:
before_script:
- mkdir build
- cd build
- - cmake -G 'Unix Makefiles' ..
+ - CFLAGS='-g -O0 --coverage' cmake -G 'Unix Makefiles' ..
script:
- make
after_success:
- sudo apt-get install python3
+ - pip install --user cpp-coveralls
- ../scripts/run-commonmark-tests.sh
+ - coveralls -r md4c