Skip to content

Commit

Permalink
Add codecov code coverage
Browse files Browse the repository at this point in the history
Closes #110
  • Loading branch information
divyam3897 committed Oct 17, 2017
1 parent d31056a commit a84b228
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
branch = True
omit = site-packages
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ script:
- python manage.py migrate
- python manage.py collectstatic
- python manage.py test
after_success:
- bash -c 'curl -s https://codecov.io/bash'
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage:
range: "95..100"
13 changes: 13 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
certifi==2017.7.27.1
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
dj-database-url==0.4.2
Django==1.11.5
gunicorn==19.7.1
idna==2.6
nose==1.3.7
nose2==0.6.5
psycopg2==2.7.3.1
py==1.4.34
pytz==2017.2
pytest==3.2.3
pytest-cov==2.5.1
requests==2.18.4
six==1.11.0
urllib3==1.22
whitenoise==3.3.1

0 comments on commit a84b228

Please sign in to comment.