diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-02-13 16:57:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 16:57:30 +0100 |
commit | c9b62b4294035bddb5b59720fb33757cef0a6311 (patch) | |
tree | d4939ce44600ff2f6b07b2445da063e4a81d845e | |
parent | 2b501866ed493758e4c4b29f0ce9b24023d910a1 (diff) | |
download | cpython-git-c9b62b4294035bddb5b59720fb33757cef0a6311.tar.gz |
Add Travis CI and Codecov badges to README (#70)
Badges are small images which gives the status of the Travis CI and
the coverage percentage of Codecode. It helps to check the status of
the Travis CI and to get the link to Travis CI.
See also https://shields.io/
-rw-r--r-- | .github/CONTRIBUTING.rst | 6 | ||||
-rw-r--r-- | README.rst | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/.github/CONTRIBUTING.rst b/.github/CONTRIBUTING.rst index 416fa54805..c64187b32c 100644 --- a/.github/CONTRIBUTING.rst +++ b/.github/CONTRIBUTING.rst @@ -6,12 +6,6 @@ Build Status - master - + .. image:: https://travis-ci.org/python/cpython.svg?branch=master - :target: https://travis-ci.org/python/cpython - - + .. image:: https://codecov.io/gh/python/cpython/branch/master/graph/badge.svg - :target: https://codecov.io/gh/python/cpython - + `Stable buildbots <http://buildbot.python.org/3.x.stable/>`_ - 3.6 diff --git a/README.rst b/README.rst index a34373f351..71c54b2c6a 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,14 @@ This is Python version 3.7.0 alpha 1 ==================================== +.. image:: https://travis-ci.org/python/cpython.svg?branch=master + :alt: CPython build status on Travis CI + :target: https://travis-ci.org/python/cpython + +.. image:: https://codecov.io/gh/python/cpython/branch/master/graph/badge.svg + :alt: CPython code coverage on Codecov + :target: https://codecov.io/gh/python/cpython + Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Python Software Foundation. All rights reserved. |