From fcb466883d287666015e8630fb4c62b1a90eb85a Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Sat, 13 Jan 2018 22:04:18 +0000 Subject: [PATCH] replace landscape.io with codacy landscape.io hasn't worked since late 2017. --- .landscape.yaml | 14 -------------- .travis.yml | 3 +++ README.rst | 7 +++---- 3 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 .landscape.yaml diff --git a/.landscape.yaml b/.landscape.yaml deleted file mode 100644 index ce8c0d0a9..000000000 --- a/.landscape.yaml +++ /dev/null @@ -1,14 +0,0 @@ -doc-warnings: yes -test-warnings: no -strictness: medium -max-line-length: 80 -uses: - - django -autodetect: yes -requirements: - - requirements.txt - - dev-requirements.txt -ignore-paths: - - docs -ignore-patterns: - - (^|/)migrations(/|$) diff --git a/.travis.yml b/.travis.yml index ce4082016..f4cc7f849 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ services: before_install: - pip install codecov + - pip install codacy-coverage install: - pip install -r requirements.txt @@ -50,7 +51,9 @@ script: - coverage run --source ../modoboa manage.py test modoboa.core modoboa.lib modoboa.admin modoboa.limits modoboa.transport modoboa.relaydomains after_success: + - coverage xml - codecov + - python-codacy-coverage -r coverage.xml before_deploy: - cd ../modoboa diff --git a/README.rst b/README.rst index 2e6247a5e..ec5c774a8 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ `Modoboa `_ ################################ -|travis| |codecov| |landscape| |latest-version| +|travis| |codecov| |codacy| |latest-version| Modoboa is a mail hosting and management platform including a modern and simplified Web User Interface. It provides useful components such @@ -63,10 +63,9 @@ The following external libraries are provided with Modoboa: .. |latest-version| image:: https://img.shields.io/pypi/v/modoboa.svg :target: https://pypi.python.org/pypi/modoboa/ :alt: Latest version on Pypi -.. |landscape| image:: https://landscape.io/github/modoboa/modoboa/master/landscape.svg?style=flat - :target: https://landscape.io/github/modoboa/modoboa/master - :alt: Code Health .. |travis| image:: https://travis-ci.org/modoboa/modoboa.png?branch=master :target: https://travis-ci.org/modoboa/modoboa .. |codecov| image:: http://codecov.io/github/modoboa/modoboa/coverage.svg?branch=master :target: http://codecov.io/github/modoboa/modoboa?branch=master +.. |codacy| image:: https://api.codacy.com/project/badge/Grade/82fd10127ac3468899ca75f04e9862b6 + :target: https://www.codacy.com/app/modoboa/modoboa?utm_source=github.com&utm_medium=referral&utm_content=modoboa/modoboa&utm_campaign=Badge_Grade \ No newline at end of file