From 762ed2bb71059f2acb0f2ee6377e8646be4c985e Mon Sep 17 00:00:00 2001 From: afabiani Date: Wed, 3 Oct 2018 20:06:24 +0200 Subject: [PATCH] - codecov reports --- .travis.yml | 10 ++-------- codecov.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 8 deletions(-) create mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml index cc49bd4e399..be88298603e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,12 +33,10 @@ env: ON_TRAVIS: 'True' TEST_RUN_CORE: 'True' MONITORING_ENABLED: 'False' - CODECOV_TOKEN: 2c0e7780-1640-45f0-93a3-e103b057d8c8 - BACKEND: 'geonode.geoserver' ON_TRAVIS: 'True' TEST_RUN_INTERNAL_APPS: 'True' MONITORING_ENABLED: 'False' - CODECOV_TOKEN: 2c0e7780-1640-45f0-93a3-e103b057d8c8 - BACKEND: 'geonode.geoserver' DOCKER_COMPOSE_VERSION: 1.19.0 # This is GeoServer server address @@ -48,7 +46,6 @@ env: TEST_RUN_INTEGRATION: 'True' MONITORING_ENABLED: 'False' CELERY_ALWAYS_EAGER: 'True' - CODECOV_TOKEN: 2c0e7780-1640-45f0-93a3-e103b057d8c8 - BACKEND: 'geonode.qgis_server' DJANGO_SETTINGS_MODULE: 'geonode.local_settings' DOCKER_COMPOSE_VERSION: 1.19.0 @@ -62,7 +59,6 @@ env: TEST_RUN_CORE: 'True' MONITORING_ENABLED: 'False' CELERY_ALWAYS_EAGER: 'True' - CODECOV_TOKEN: 2c0e7780-1640-45f0-93a3-e103b057d8c8 - BACKEND: 'geonode.qgis_server' DJANGO_SETTINGS_MODULE: 'geonode.local_settings' DOCKER_COMPOSE_VERSION: 1.19.0 @@ -76,7 +72,6 @@ env: TEST_RUN_INTERNAL_APPS: 'True' MONITORING_ENABLED: 'False' CELERY_ALWAYS_EAGER: 'True' - CODECOV_TOKEN: 2c0e7780-1640-45f0-93a3-e103b057d8c8 - BACKEND: 'geonode.qgis_server' DJANGO_SETTINGS_MODULE: 'geonode.local_settings' DOCKER_COMPOSE_VERSION: 1.19.0 @@ -90,7 +85,6 @@ env: TEST_RUN_INTEGRATION: 'True' MONITORING_ENABLED: 'False' CELERY_ALWAYS_EAGER: 'True' - CODECOV_TOKEN: 2c0e7780-1640-45f0-93a3-e103b057d8c8 branches: only: @@ -153,8 +147,8 @@ after_script: - paver reset_hard after_success: - - codecov - - bash <(curl -s https://codecov.io/bash) + # - codecov + - bash <(curl -s https://codecov.io/bash) -t 2c0e7780-1640-45f0-93a3-e103b057d8c8 notifications: irc: diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000000..a4b30b37386 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,33 @@ +codecov: + notify: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + range: "70...100" + + status: + project: yes + patch: yes + changes: no + +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no + +comment: + layout: "header, diff" + behavior: default + require_changes: no + +ignore: + - */management/* + - geonode/contrib/* + - */test* + - */wsgi* + - */middleware*