Add codecov configuration

openapi3
Cristi Vîjdea 2017-12-08 18:26:39 +01:00
parent e5f598cdf3
commit 53b2560063
2 changed files with 32 additions and 1 deletions

31
.codecov.yml 100644
View File

@ -0,0 +1,31 @@
codecov:
branch: master
coverage:
precision: 2
round: down
range: 60...100
status:
project:
default:
enabled: yes
target: auto
if_no_uploads: error
if_ci_failed: error
patch:
default:
enabled: yes
target: 80%
threshold: 60%
if_no_uploads: error
if_ci_failed: error
changes:
default:
enabled: yes
if_no_uploads: error
if_ci_failed: error
comment: false

View File

@ -22,7 +22,7 @@ matrix:
- env: TOXENV=flake8 - env: TOXENV=flake8
- env: DRF=master - env: DRF=master
- python: '2.7' - python: '2.7'
- python: '3.7' - python: '3.7-dev'
install: install:
- pip install -r requirements/ci.txt - pip install -r requirements/ci.txt