.trevis.yml: Create coverage data and upload them to coverage.io.
diff --git a/.travis.yml b/.travis.yml
index 9ffc7ce..3040764 100644
--- 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