From 55d65060260f433a97e46bcf1037ecbdca4f8aa6 Mon Sep 17 00:00:00 2001 From: Paul Daigle Date: Wed, 20 May 2015 16:43:40 -0400 Subject: [PATCH] add coveralls --- .travis.yml | 2 +- README.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef0085d..3bea365 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,5 @@ install: script: - nosetests --with-coverage --cover-package=bitpay --cover-html - behave -after_sucess: +after_success: - coveralls diff --git a/README.md b/README.md index 3323e8e..cf5dec0 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Powerful, flexible, lightweight interface to the cryptographically secure BitPay [![Supported Python versions](https://pypip.in/py_versions/bitpay_py2/badge.svg?style=flat-square)](https://pypi.python.org/pypi/bitpay-py2/) [![Code Climate](https://img.shields.io/codeclimate/github/bitpay/bitpay-python-py2.svg?style=flat-square)](https://codeclimate.com/github/bitpay/bitpay-python-py2) [![Scrutinizer](https://img.shields.io/scrutinizer/g/bitpay/bitpay-python-py2.svg?style=flat-square)](https://scrutinizer-ci.com/g/bitpay/bitpay-python-py2/) +[![Coveralls](https://img.shields.io/coveralls/bitpay/bitpay-python-py2.svg?style=flat-square)](https://coveralls.io/r/bitpay/bitpay-python-py2) This library is only compatible with Python 2. If you're using Python 3.x, please use our separate [bitpay-python](https://github.com/ionux/bitpay-python) library. @@ -20,7 +21,7 @@ API Documentation is available on the [BitPay site](https://bitpay.com/api). ## Running the Tests -Before running the behavior tests, you will need a test.bitpay.com account and you will need to set the local constants. +Before running the behavior tests, you will need a test.bitpay.com account and you will need to set the local constants. To set constants: > source tasks/set_constants.sh "https://test.bitpay.com" your@email yourpassword @@ -30,7 +31,7 @@ To run unit tests: To run behavior tests: > behave - + ## Found a bug? Let us know! Send a pull request or a patch. Questions? Ask! We're here to help. We will respond to all filed issues.