Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Commit

Permalink
Update .travis.yml to integrate with coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
bruth committed Jul 19, 2013
1 parent b818e62 commit 633f6e9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[run]
branch = True
source = preserialize

[report]
exclude_lines =
pragma: no cover
def __repr__
def __str__
def __unicode__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplemented(Error)?
if 0:
if __name__ == .__main__.:

[html]
directory = coverage
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ env:
- DJANGO=1.4.5
- DJANGO=1.5.1
install:
- pip install coveralls
- pip install -q Django==$DJANGO --use-mirrors
script:
- python setup.py test
- coverage run --source=preserialize setup.py test
after_success:
- coveralls

0 comments on commit 633f6e9

Please sign in to comment.