From 9f09394972a4116ef41539a50698537b253dbc2b Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 21 Oct 2014 00:52:59 +0300 Subject: [PATCH] add coveralls --- .travis.yml | 10 ++++++---- README.rst | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c5f8c84..fab8e6a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,14 @@ language: python python: - "2.7" - # does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa - # maintainers to fix their pypy-dev package. - "pypy" # command to install dependencies # install: -# - pip install . + - pip install coveralls # - pip install -r requirements.txt # command to run tests -script: nosetests +script: + nosetests + +after_success: + coveralls diff --git a/README.rst b/README.rst index 17683a00..3ae85243 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,7 @@ .. image:: https://badge.fury.io/py/slpkg.png :target: http://badge.fury.io/py/slpkg +.. image:: https://travis-ci.org/dslackw/slpkg.svg?branch=master + :target: https://travis-ci.org/dslackw/slpkg .. image:: https://pypip.in/d/slpkg/badge.png :target: https://pypi.python.org/pypi/slpkg .. image:: https://pypip.in/license/slpkg/badge.png