Skip to content

Commit

Permalink
Merge pull request #160 from redapple/codecov
Browse files Browse the repository at this point in the history
Add codecov.io upload to Travis CI config
  • Loading branch information
redapple committed Jul 21, 2016
2 parents c7edd7f + 5f184f6 commit b316be6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ matrix:
install:
- pip install -r reqs/requirements-$BUILDENV.txt
- pip install -r reqs/requirements-tests.txt
- pip install codecov
- pip install .

script:
- coverage run --branch $(which trial) scrapyd
- coverage combine && coverage report

after_success:
- codecov

notifications:
irc:
channels:
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ Scrapyd
=======

.. image:: https://secure.travis-ci.org/scrapy/scrapyd.png?branch=master
:target: http://travis-ci.org/scrapy/scrapyd
:target: http://travis-ci.org/scrapy/scrapyd

.. image:: https://codecov.io/gh/scrapy/scrapyd/branch/master/graph/badge.svg
:target: https://codecov.io/gh/scrapy/scrapyd

Scrapyd is a service for running `Scrapy`_ spiders.

Expand Down

0 comments on commit b316be6

Please sign in to comment.