summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-11-09 15:21:36 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-11-09 15:28:23 +0100
commitf30ab5515a2775d35e66da9d5dfc52a29a68bf9a (patch)
treecd70dccddc4ccc28844bf08e85c35fc2edcfa776
parentb9a65a875b7a8eb4794517f91f1cdfb38ce5d088 (diff)
downloadcrocoite-f30ab5515a2775d35e66da9d5dfc52a29a68bf9a.tar.gz
crocoite-f30ab5515a2775d35e66da9d5dfc52a29a68bf9a.tar.bz2
crocoite-f30ab5515a2775d35e66da9d5dfc52a29a68bf9a.zip
Add xml report for codecov.io
-rw-r--r--.gitignore3
-rw-r--r--setup.cfg2
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 4d8356f..80f8304 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,6 @@ __pycache__
*.sw?
*.egg-info/
.pytest_cache/
+coverage.xml
+htmlcov
+.coverage
diff --git a/setup.cfg b/setup.cfg
index 0b06bc8..32dfadf 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[aliases]
test=pytest
[tool:pytest]
-addopts=--cov-report=html --cov=crocoite --cov-config=setup.cfg
+addopts=--cov-report=html --cov-report=xml --cov=crocoite --cov-config=setup.cfg
[coverage:run]
branch=True