Skip to content

Commit

Permalink
Merge pull request jazzband#74 from ZuluPro/coverall
Browse files Browse the repository at this point in the history
Added coveralls support for online coverage
  • Loading branch information
benjaoming committed Jul 31, 2015
2 parents b367afb + 651303d commit 8a209dd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ env:
#virtualenv:
# system_site_packages: true

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -r requirements.txt
- pip install mock python-gnupg
- pip install -r requirements-tests.txt
- pip install coveralls

# command to run tests, e.g. python setup.py test
script:
- python setup.py test

- coverage run setup.py test
after_success: coveralls
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ Django Database Backup
:target: https://readthedocs.org/projects/django-dbbackup/?badge=latest
:alt: Documentation Status


.. image:: https://coveralls.io/repos/django-dbbackup/django-dbbackup/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/django-dbbackup/django-dbbackup?branch=master


This Django application provides management commands to help backup and
restore your project database to AmazonS3, Dropbox or Local Disk.

Expand Down
4 changes: 4 additions & 0 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pep8
flake8
mock
coverage

0 comments on commit 8a209dd

Please sign in to comment.