mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Merge pull request #1361 from fyfe/feature/codacy
replace landscape.io with codacy
This commit is contained in:
@@ -31,6 +31,7 @@ services:
|
||||
|
||||
before_install:
|
||||
- pip install codecov
|
||||
- pip install codacy-coverage
|
||||
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
@@ -52,7 +53,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
|
||||
|
||||
+3
-4
@@ -2,7 +2,7 @@
|
||||
`Modoboa <http://modoboa.org/>`_
|
||||
################################
|
||||
|
||||
|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
|
||||
Reference in New Issue
Block a user