Skip to content

Commit

Permalink
coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Apr 25, 2016
1 parent b57c71e commit fece094
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: python
sudo: false
python:
- "2.6"
- "2.7"
Expand All @@ -8,15 +9,16 @@ python:
- "nightly"
# command to install dependencies
install:
- "pip install flake8 mock ."
- "pip install flake8 mock coveralls ."
# command to run tests
script:
- "flake8 --ignore=E501 ."
- "py.test"
- "coverage run --source=itunesiap setup.py test"
after_success:
- "coveralls"
matrix:
allow_failures:
- python:
- pypy
- pypy3
- nightly
sudo: false
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ itunes-iap v2

.. image:: https://travis-ci.org/youknowone/itunes-iap.svg?branch=master
:target: https://travis-ci.org/youknowone/itunes-iap
.. image:: https://coveralls.io/repos/github/youknowone/itunes-iap/badge.svg?branch=master :target: https://coveralls.io/github/youknowone/itunes-iap?branch=master

Note for v1 users
-----------------
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def get_readme():
install_requires=[
'requests[security]', 'prettyexc>=0.6.0', 'six', 'pytz', 'python-dateutil',
],
setup_requires=['pytest-runner'],
tests_require=[
'pytest', 'tox', 'mock', 'patch',
],
Expand Down

0 comments on commit fece094

Please sign in to comment.