From 4477737612f0b3c10082e00410bb4360dab295a0 Mon Sep 17 00:00:00 2001 From: Anthex Date: Thu, 25 Apr 2019 10:37:47 +0200 Subject: [PATCH] code coverage report generation on tests run --- .travis.yml | 6 +++++- coverage.xml | 274 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2 files changed, 5 insertions(+), 275 deletions(-) delete mode 100644 coverage.xml diff --git a/.travis.yml b/.travis.yml index 1c9c2fb..28c34e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: python +install: + - pip install codecov python: - "3.5" - "3.6" @@ -7,4 +9,6 @@ matrix: - name: "Python 3.7.1 on Xenial Linux" python: 3.7 dist: xenial -script: py.test +script: py.test --cov-report=xml --cov=./ +after_success: + - codecov \ No newline at end of file diff --git a/coverage.xml b/coverage.xml deleted file mode 100644 index dd108b8..0000000 --- a/coverage.xml +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - C:\Users\achil\Desktop\TD5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- libgit2 0.21.4