Add codecov configuration
This commit is contained in:
@@ -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
|
||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user