diff --git a/.travis.yml b/.travis.yml index 96888de02debe0d2113d6d1c76220ce9b58a9a38..88629ca6856060fbd4e0f97bd6f6762ad1fc0538 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 ed8688270495acb19cf599a47f33234010c5e3ff..2bb9e7561d42d0619b6e5972684bfe738695913b 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]