From 12f48d37f56da43617a554774f3dea0bebf29417 Mon Sep 17 00:00:00 2001 From: stevepeak Date: Sun, 17 May 2015 10:41:33 -0500 Subject: [PATCH] add codecov covereage --- .travis.yml | 3 +++ README.rst | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8f5e2dbe78d..366a5071cc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,6 +74,8 @@ install: export IS_LATEST=false fi; + # codecov is the interface to codecov.io; see after_success + - "echo 'travis_fold:start:codecov'; pip install codecov; echo 'travis_fold:end:codecov'" # coveralls is the interface to coveralls.io; see after_success - "echo 'travis_fold:start:coveralls'; pip install coveralls; echo 'travis_fold:end:coveralls'" - "echo 'travis_fold:start:tw'; [ $TWISTED = latest ] || pip install Twisted==$TWISTED; echo 'travis_fold:end:tw'" @@ -117,4 +119,5 @@ notifications: email: false after_success: + - "[ $IS_LATEST = false ] || codecov" - "[ $IS_LATEST = false ] || coveralls" diff --git a/README.rst b/README.rst index 319e6fd8936..4bab6280f87 100644 --- a/README.rst +++ b/README.rst @@ -27,5 +27,7 @@ Related repositories: .. |travis-badge| image:: https://travis-ci.org/buildbot/buildbot.svg?branch=master .. _travis-badge: https://travis-ci.org/buildbot/buildbot +.. |codecov-badge| image:: https://img.shields.io/codecov/buildbot/buildbot.svg +.. _codecov-badge: https://codecov.io/buildbot/buildbot?branch=master .. |coveralls-badge| image:: https://img.shields.io/coveralls/buildbot/buildbot.svg .. _coveralls-badge: https://coveralls.io/r/buildbot/buildbot?branch=master