From 2c7ec0c21b412f5242951a3ced9628cf6d3fc0a7 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 8 Sep 2017 18:51:49 -0400 Subject: Switch to codecov from coveralls Note that we install coverage<4.0 in travis because test-requirements.txt is installing the same in the tox environments. The .coverage file format changed in 4.0. --- .codecov.yml | 1 + .travis.yml | 11 +++++++++-- README.md | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..db24720 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1 @@ +comment: off diff --git a/.travis.yml b/.travis.yml index 4052559..2dcb793 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ sudo: false language: python + matrix: include: - python: '2.7' @@ -12,19 +13,25 @@ matrix: env: TOXENV=pypy - env: TOXENV=flake8 - env: TOXENV=checkspelling + addons: apt: packages: - libtidy-0.99-0 - aspell - aspell-en + install: - pip install tox - - pip install coveralls + - pip install 'coverage<4.0' + - pip install codecov + script: - tox + after_success: - - coveralls + - codecov + branches: only: - master diff --git a/README.md b/README.md index 17b544c..5e8dc84 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ =================== [![Build Status](http://img.shields.io/travis/Python-Markdown/markdown.svg)](https://travis-ci.org/Python-Markdown/markdown) -[![Coverage Status](https://img.shields.io/coveralls/Python-Markdown/markdown.svg)](https://coveralls.io/r/Python-Markdown/markdown?branch=master) +[![Coverage Status](https://codecov.io/gh/Python-Markdown/markdown/branch/master/graph/badge.svg)](https://codecov.io/gh/Python-Markdown/markdown) [![Latest Version](http://img.shields.io/pypi/v/Markdown.svg)](http://pypi.python.org/pypi/Markdown) [![Python Versions](http://img.shields.io/pypi/pyversions/Markdown.svg)](http://pypi.python.org/pypi/Markdown) [![BSD License](http://img.shields.io/badge/license-BSD-yellow.svg)](http://opensource.org/licenses/BSD-3-Clause) -- cgit v1.2.3