From 8754e3d7c4fbc18c520817ad7e4cd792cc529e29 Mon Sep 17 00:00:00 2001 From: Anders Lervik Date: Tue, 19 Sep 2017 18:04:19 +0200 Subject: [PATCH] Added coveralls + badge. --- .travis.yml | 4 ++++ README.rst | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index f6a20a3..b835f71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ before_script: - sudo apt-get update -qq - pip install --upgrade pip - pip install coverage + - pip install coveralls - pip install pep8 - pip install pylint - pip install -e . @@ -21,3 +22,6 @@ install: script: - coverage run -m unittest discover -s test - coverage report -m + +after_success: + - coveralls diff --git a/README.rst b/README.rst index 8b3ae6a..4596c48 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,10 @@ .. image:: https://travis-ci.org/andersle/pytrr.svg?branch=master :target: https://travis-ci.org/andersle/pytrr +.. image:: https://coveralls.io/repos/github/andersle/pytrr/badge.svg?branch=master + :target: https://coveralls.io/github/andersle/pytrr?branch=master + + ##### pytrr