Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coveralls #395

Merged
merged 1 commit into from
Apr 12, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ matrix:
- python: nightly
sudo: false
install:
- pip install flake8 pep257
- pip install flake8 pep257 coveralls
- python setup.py install
before_script:
- flake8 praw
- flake8 tests
- pep257 praw
script: python setup.py test -s tests.travis_suite
script: coverage run --source=praw setup.py test -s tests.travis_suite
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we configure coveralls to only run along with one of the python versions as it seems unnecessary for each?

Edit: Maybe it's not a problem given that their example does the same thing. I'll try it as-is.

after_success:
coveralls
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing newline at the end of the file 👾 .

4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ PRAW: The Python Reddit API Wrapper

.. image:: https://travis-ci.org/praw-dev/praw.svg?branch=master
:target: https://travis-ci.org/praw-dev/praw

.. image:: https://coveralls.io/repos/praw-dev/praw/badge.svg?branch=master
:target: https://coveralls.io/r/praw-dev/praw?branch=master


PRAW, an acronym for "Python Reddit API Wrapper", is a python package that
allows for simple access to reddit's API. PRAW aims to be as easy to use as
Expand Down