Skip to content

Commit

Permalink
Added coveralls support for online coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuluPro committed Jul 24, 2015
1 parent 9340a07 commit 651303d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Expand Up @@ -13,12 +13,11 @@ python:
#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
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
@@ -0,0 +1,4 @@
pep8
flake8
mock
coverage

0 comments on commit 651303d

Please sign in to comment.