Skip to content

Commit

Permalink
Added coveralls.io support to report on coverage.
Browse files Browse the repository at this point in the history
Added travis support + badge to README.
  • Loading branch information
djm committed Sep 16, 2014
1 parent b22cff3 commit a04d803
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Config file for automatic testing at travis-ci.org
# and providing coverage reporting at coveralls.io

language: python

Expand All @@ -8,5 +9,10 @@ python:
- "3.3"
- "3.4"

install: pip install -r requirements.txt
script: python setup.py test
install:
- pip install -r requirements.txt
- pip install coveralls
script:
py.test --cov scrapyd_api tests/
after_success:
coveralls
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ python-scrapyd-api

.. image:: https://travis-ci.org/djm/python-scrapyd-api.png?branch=master
:target: https://travis-ci.org/djm/python-scrapyd-api
:alt: The Travis-CI Build Status
:alt: Built Status on Travis-CI

.. image:: https://coveralls.io/repos/djm/python-scrapyd-api/badge.png
:target: https://coveralls.io/r/djm/python-scrapyd-api
:alt: Coverage Status on Coveralls

.. image:: https://readthedocs.org/projects/python-scrapyd-api/badge/?version=latest
:target: http://python-scrapyd-api.readthedocs.org/en/latest/
:alt: Documentation Status
:alt: Documentation Status on ReadTheDocs


A Python wrapper for working with Scrapyd_'s API_.
Expand Down

0 comments on commit a04d803

Please sign in to comment.