Skip to content

Commit

Permalink
- codecov reports
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Oct 3, 2018
1 parent 02b89b8 commit 762ed2b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
33 changes: 33 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -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*

0 comments on commit 762ed2b

Please sign in to comment.