Commit 42519f8b authored by Łukasz Langa's avatar Łukasz Langa
Browse files

Coverage reporting

parent cbf010e0
Loading
Loading
Loading
Loading

.coveragerc

0 → 100644
+4 −0
Changes for .coveragerc: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
[report]
omit =
  blib2to3/*
  */site-packages/*
+4 −2
Changes for .travis.yml: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
# black

[![Build Status](https://travis-ci.org/ambv/black.svg?branch=master)](https://travis-ci.org/ambv/black) [![Documentation Status](http://readthedocs.org/projects/black/badge/?version=latest)](http://black.readthedocs.io/en/latest/?badge=latest) ![License: MIT](https://img.shields.io/github/license/ambv/black.svg) ![PyPI](https://img.shields.io/pypi/v/black.svg) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Build Status](https://travis-ci.org/ambv/black.svg?branch=master)](https://travis-ci.org/ambv/black) [![Documentation Status](http://readthedocs.org/projects/black/badge/?version=latest)](http://black.readthedocs.io/en/latest/?badge=latest) [![Coverage Status](https://coveralls.io/repos/github/ambv/black/badge.svg?branch=master)](https://coveralls.io/github/ambv/black?branch=master) ![License: MIT](https://img.shields.io/github/license/ambv/black.svg) ![PyPI](https://img.shields.io/pypi/v/black.svg) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

> Any color you like.