From 72a88b87fe2b3aec435fb9d4dfb19a0f45c1b5cf Mon Sep 17 00:00:00 2001
From: Holger Nahrstaedt <holger@nahrstaedt.de>
Date: Sat, 3 Mar 2018 08:19:43 +0100
Subject: [PATCH] next try

---
 .travis.yml | 5 +++--
 tox.ini     | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 96888de0..88629ca6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -60,11 +60,12 @@ before_install:
   - pip install --upgrade pip
   - pip install --upgrade wheel
   # Set numpy version first, other packages link against it
-  - pip install six nose coverage codecov tox-travis pytest pytest-cov coveralls
+  - pip install six nose coverage codecov tox-travis pytest pytest-cov coveralls codacy-coverage
 
 script:
  - tox
 
 after_success:
   - codecov
-  - coveralls
\ No newline at end of file
+  - coveralls
+  - python-codacy-coverage -r coverage.xml
\ No newline at end of file
diff --git a/tox.ini b/tox.ini
index ed868827..2bb9e756 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,6 +8,7 @@ commands=
     coverage run -a setup.py test
     coverage report --show-missing --ignore-errors
     coverage html -i
+    coverage xml
 
 [testenv:lint]
 deps=
@@ -32,9 +33,8 @@ commands =
     {envpython} -m pyflakes
 
 [testenv:coverage]
-deps = coverage -rrequirements-test.txt
+deps = coverage
 commands =
-     {envpython} -m coverage run setup.py test
      {envpython} -m coverage xml
 
 [testenv:upload_coverage]
-- 
GitLab