Permalink
Browse files

Add coverage research

  • Loading branch information...
1 parent e9114e7 commit 7d5e8ce75dfe3da5e8e7ca06c09b7c86e8cc8298 @goinnn goinnn committed Oct 9, 2013
Showing with 29 additions and 4 deletions.
  1. +12 −0 .coveragerc
  2. +1 −1 CHANGES.rst
  3. +3 −0 README.rst
  4. +1 −1 testing/testing/settings.py
  5. +12 −2 tox.ini
View
@@ -0,0 +1,12 @@
+[run]
+source = inplaceeditform
+omit =
+ example/*
+
+[report]
+exclude_lines =
+ pragma: no cover
+ def __repr__
+ raise NotImplementedError
+ if __name__ == .__main__.:
+ def parse_args
View
@@ -14,7 +14,7 @@ Releases
* Improvements in the travis file
* Improvements in the testing project and in the tests
-* Support to python2.6 (this does not work from django-inplaceedit>=0.96 to django-inplaceedit<=1.2.6)
+* Support to python2.6 (this was not supported from django-inplaceedit>=0.96 to django-inplaceedit<=1.2.6)
* Thanks to:
* `Pavel Nedrigaylov <https://github.com/shadow-identity>`_
View
@@ -10,6 +10,9 @@ Information
.. image:: https://travis-ci.org/Yaco-Sistemas/django-inplaceedit.png?branch=master
:target: https://travis-ci.org/Yaco-Sistemas/django-inplaceedit
+.. image:: https://coveralls.io/repos/Yaco-Sistemas/django-inplaceedit.png?branch=master
+ :target: https://coveralls.io/r/Yaco-Sistemas/django-inplaceedit
+
.. image:: https://badge.fury.io/py/django-inplaceedit.png
:target: https://badge.fury.io/py/django-inplaceedit
@@ -195,7 +195,7 @@
'auto_m2m': 'inplaceeditform_extra_fields.fields.AdaptorAutoCompleteManyToManyField',
'image_thumb': 'inplaceeditform_extra_fields.fields.AdaptorImageThumbnailField',
'tiny': 'inplaceeditform_extra_fields.fields.AdaptorTinyMCEField',
- 'tiny_simple': 'inplaceeditform_extra_fields.fields.AdaptorSimpleTinyMCEField'}
+ }
try:
import ajax_select
INSTALLED_APPS += ('ajax_select',)
View
@@ -2,9 +2,10 @@
envlist = py27-dj15,py27-dj14,py27-dj13,py27-dj12,py33-dj15,py26-dj15,py26-dj14,py26-dj13,py26-dj12
[testenv]
+usedevelop = True
commands =
- python testing/run_tests.py
- python testing/run_tests.py testing.settings_no_debug
+ python {envbindir}/coverage run testing/run_tests.py
+ python {envbindir}/coverage run testing/run_tests.py testing.settings_no_debug
install_command =
pip install {opts} {packages}
@@ -14,59 +15,68 @@ deps =
django==1.5
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py26-dj14]
basepython = python2.6
deps =
django==1.4
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py26-dj13]
basepython = python2.6
deps =
django==1.3
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py26-dj12]
basepython = python2.6
deps =
django==1.2
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py27-dj15]
basepython = python2.7
deps =
django==1.5
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py27-dj14]
basepython = python2.7
deps =
django==1.4
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py27-dj13]
basepython = python2.7
deps =
django==1.3
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py27-dj12]
basepython = python2.7
deps =
django==1.2
pillow==1.7.8
django-transmeta==0.7.1
+ coveralls==0.3
[testenv:py33-dj15]
basepython = python3.3
deps =
django==1.5
pillow==2.1.0
django-transmeta==0.7.1
+ coveralls==0.3

0 comments on commit 7d5e8ce

Please sign in to comment.