Coverage reporting
This commit is contained in:
parent
cbf010e0a2
commit
42519f8b32
4
.coveragerc
Normal file
4
.coveragerc
Normal file
@ -0,0 +1,4 @@
|
||||
[report]
|
||||
omit =
|
||||
blib2to3/*
|
||||
*/site-packages/*
|
@ -2,12 +2,14 @@ sudo: false
|
||||
language: python
|
||||
cache: pip
|
||||
before_script:
|
||||
- pip install flake8 flake8-bugbear mypy
|
||||
- pip install coverage coveralls flake8 flake8-bugbear mypy
|
||||
- pip install -e .
|
||||
script:
|
||||
- python setup.py test
|
||||
- coverage run tests/test_black.py
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then mypy black.py tests/test_black.py; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev' ]]; then flake8 black.py tests/test_black.py; fi
|
||||
after_success:
|
||||
- coveralls
|
||||
notifications:
|
||||
on_success: change
|
||||
on_failure: always
|
||||
|
@ -1,6 +1,6 @@
|
||||
# black
|
||||
|
||||
[](https://travis-ci.org/ambv/black) [](http://black.readthedocs.io/en/latest/?badge=latest)   [](https://github.com/ambv/black)
|
||||
[](https://travis-ci.org/ambv/black) [](http://black.readthedocs.io/en/latest/?badge=latest) [](https://coveralls.io/github/ambv/black?branch=master)   [](https://github.com/ambv/black)
|
||||
|
||||
> Any color you like.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user