From 2b9d27b1f0ddaf68207068865439f5b5cc21c69c Mon Sep 17 00:00:00 2001 From: Chris MacNaughton Date: Thu, 9 Apr 2020 17:31:34 +0200 Subject: [PATCH] Add coverage reporting for unit tests --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c1558f3..938efa4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ sudo: true dist: xenial language: python -install: pip install tox-travis +install: + - pip install tox-travis + - pip install codecov matrix: include: - name: "Python 3.5" @@ -15,3 +17,5 @@ matrix: env: ENV=pep8,py3 script: - tox -c tox.ini -e $ENV +after_success: + - codecov --verbose --gcov-glob unit_tests/* \ No newline at end of file