Skip to content

Commit

Permalink
Added coverage to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
epicserve committed Mar 6, 2016
1 parent 0a1e7db commit 1124ec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ dist/
.venv
example/media/
.tox/
htmlcov
.coverage
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ envlist =
deps=
django19: Django==1.9.2
django18: Django==1.8.9
coverage==4.0.3
-r{toxinidir}/requirements.txt

commands=
{toxinidir}/example/manage.py test --settings='settings-testing' categories
coverage run --source={toxinidir} --omit='.tox/*' {toxinidir}/example/manage.py test --settings='settings-testing' categories

[testenv:py27-lint]
deps=
Expand Down

0 comments on commit 1124ec2

Please sign in to comment.