Commit 09abd945 by Tom Riat

feat(): add coverage to the project

parent 6ee96888
...@@ -30,7 +30,6 @@ install: ...@@ -30,7 +30,6 @@ install:
- pip install -r requirements.txt - pip install -r requirements.txt
- npm install - npm install
script: tox script: tox
after_success: coveralls
deploy: deploy:
provider: pypi provider: pypi
user: jazzband user: jazzband
...@@ -43,3 +42,4 @@ deploy: ...@@ -43,3 +42,4 @@ deploy:
condition: "$TOXENV = py27-django19" condition: "$TOXENV = py27-django19"
notifications: notifications:
email: false email: false
after_success: coveralls
...@@ -16,6 +16,7 @@ deps = ...@@ -16,6 +16,7 @@ deps =
django18: Django>=1.8,<1.9 django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10 django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11 django110: Django>=1.10,<1.11
pytest-django
jinja2 jinja2
jsmin==2.2.0 jsmin==2.2.0
ply==3.4 ply==3.4
...@@ -24,8 +25,7 @@ setenv = ...@@ -24,8 +25,7 @@ setenv =
DJANGO_SETTINGS_MODULE = tests.settings DJANGO_SETTINGS_MODULE = tests.settings
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
commands = commands =
{envbindir}/django-admin.py test {posargs:tests} pytest
[testenv:docs] [testenv:docs]
basepython = python2.7 basepython = python2.7
changedir = docs changedir = docs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment