Skip to content

Commit

Permalink
Merge pull request #4 from jrobichaud/coverage
Browse files Browse the repository at this point in the history
Add coverage configuration
  • Loading branch information
jrobichaud authored Oct 23, 2018
2 parents d45d2db + 68152a3 commit 792f714
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
include = ./*
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ env:
- DJANGO_SETTINGS_MODULE=django_awesome_presentations.settings
install:
- pip install -r requirements.txt
- pip install coverage codecov
script:
- python manage.py test
- coverage run --source='.' manage.py test
after_success:
- codecov
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# django-awesome-presentations
[![Build Status](https://travis-ci.org/jrobichaud/django-awesome-presentations.svg?branch=master)](https://travis-ci.org/jrobichaud/django-awesome-presentations)
[![codecov](https://codecov.io/gh/jrobichaud/django-awesome-presentations/branch/master/graph/badge.svg)](https://codecov.io/gh/jrobichaud/django-awesome-presentations)

## Testing migrations

Expand Down

0 comments on commit 792f714

Please sign in to comment.