Skip to content

Commit

Permalink
Added .coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
scibi committed Jun 12, 2015
1 parent a94bd16 commit d19a453
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
branch = True
omit =
*south_migrations*
teryt/tests/*
source =
teryt

10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ env:

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install $DJANGO --use-mirrors
- pip install -r requirements-test.txt --use-mirrors
- pip install $DJANGO
- pip install -r requirements-test.txt

# command to run tests, e.g. python setup.py test
script:
- coverage run --source teryt --omit '*south_migrations*' runtests.py
- coverage run runtests.py

before_install:
- pip install codecov --use-mirrors
- pip install coveralls --use-mirrors
- pip install codecov
- pip install coveralls
after_success:
- coveralls
- codecov
Expand Down

0 comments on commit d19a453

Please sign in to comment.