Send CI coverage stats to Coveralls
This commit is contained in:
parent
b0457d39e4
commit
e1e4884e86
|
@ -15,7 +15,7 @@ matrix:
|
|||
include:
|
||||
- { python: "3.7", dist: xenial, sudo: true }
|
||||
install:
|
||||
- pip install --upgrade pytest "typing$TYPING_VERSION" "pytest-cov>=2.5.1"
|
||||
- pip install --upgrade coveralls pytest "typing$TYPING_VERSION" "pytest-cov>=2.5.1"
|
||||
# mypy can't be installed on pypy
|
||||
- if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then pip install mypy ; fi
|
||||
# Black is Python 3.6+-only
|
||||
|
@ -24,3 +24,5 @@ script:
|
|||
- py.test -vv --cov=injector --cov-branch --cov-report html --cov-report term
|
||||
- if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then mypy injector ; fi
|
||||
- if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* && "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then black --check . ; fi
|
||||
after_success:
|
||||
- coveralls
|
||||
|
|
Loading…
Reference in New Issue