Skip to content

Commit

Permalink
Setup test coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasLM committed Oct 6, 2018
1 parent 275d16c commit 5ee77bd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
@@ -0,0 +1,8 @@
[run]
include =
reader/*
um/*
spinachd/*
omit =
*/tests/*
*/migrations/*
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -22,8 +22,12 @@ install:
- pip install -e .[dev]

script:
- pytest -v
- pytest -v --cov
- pycodestyle feedsubs reader um spinachd

after_success:
- pip install python-coveralls
- coveralls

notifications:
email: false
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -72,8 +72,9 @@
'dev': [
'django-debug-toolbar',
'pycodestyle',
'pytest-django',
'pytest',
'pytest-cov',
'pytest-django',
],
},

Expand Down

0 comments on commit 5ee77bd

Please sign in to comment.