Skip to content

Commit

Permalink
Configure coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
JASchilz committed Sep 24, 2015
1 parent 66b6d04 commit 950b979
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -4,4 +4,5 @@
.idea/
.tox/
dist/
*.egg-info/
*.egg-info/
.coverage
14 changes: 13 additions & 1 deletion tox.ini
Expand Up @@ -4,7 +4,8 @@ envlist =
{py33}-django{1.8}-drf{3.2.3},
{py34}-django{1.6}-drf{3.2.3},
{py34}-django{1.8}-drf{3.0.5},
lint
lint,
coveralls

toxworkdir = {env:TOX_WORK_DIR:.tox}

Expand All @@ -13,6 +14,17 @@ deps = pylint

commands = pylint rest_framework_encrypted_lookup --rcfile=.pylintrc --disable=fixme --disable=locally-disabled --disable=missing-docstring

[testenv:coveralls]
deps =
coveralls
Django==1.8
djangorestframework==3.2.3
pycrypto==2.6.1

commands =
coverage run --source=rest_framework_encrypted_lookup --omit=tests/* rest_framework_encrypted_lookup/tests/runtests.py
coveralls

[testenv]
commands = python rest_framework_encrypted_lookup/tests/runtests.py

Expand Down

0 comments on commit 950b979

Please sign in to comment.