mirror of https://github.com/encode/starlette.git
Add code coverage
This commit is contained in:
parent
a2a2a2968c
commit
64db036d00
|
@ -0,0 +1,11 @@
|
|||
coverage:
|
||||
precision: 2
|
||||
round: down
|
||||
range: "80...100"
|
||||
|
||||
status:
|
||||
project: yes
|
||||
patch: no
|
||||
changes: no
|
||||
|
||||
comment: off
|
|
@ -8,8 +8,12 @@ python:
|
|||
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
- pip install codecov
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pip install black; fi
|
||||
|
||||
script:
|
||||
- scripts/test
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then scripts/lint; fi
|
||||
|
||||
after_script:
|
||||
- codecov
|
||||
|
|
Loading…
Reference in New Issue