mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Coverage for all platforms working. Had some trouble with dependencies of coverage of python-dev for the various platforms.
This commit is contained in:
parent
cf1f8348a0
commit
fabf7c255d
|
@ -47,6 +47,7 @@ def main():
|
|||
|
||||
cov.stop()
|
||||
cov.report(cov_files)
|
||||
cov.xml_report(cov_files)
|
||||
sys.exit(failures)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
2
setup.py
2
setup.py
|
@ -18,7 +18,7 @@ setup(
|
|||
'djangorestframework.runtests'],
|
||||
package_dir={'djangorestframework': 'djangorestframework'},
|
||||
package_data = {'djangorestframework': ['templates/*', 'static/*']},
|
||||
test_suite = 'djangorestframework.runtests.runtests.main',
|
||||
test_suite = 'djangorestframework.runtests.runcoverage.main',
|
||||
classifiers = [
|
||||
'Development Status :: 4 - Beta',
|
||||
'Environment :: Web Environment',
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -11,18 +11,21 @@ basepython=python2.5
|
|||
deps=
|
||||
django==1.2.4
|
||||
simplejson
|
||||
coverage==3.4
|
||||
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
|
||||
|
||||
[testenv:py26-django12]
|
||||
basepython=python2.6
|
||||
deps=
|
||||
django==1.2.4
|
||||
coverage==3.4
|
||||
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
|
||||
|
||||
[testenv:py27-django12]
|
||||
basepython=python2.7
|
||||
deps=
|
||||
django==1.2.4
|
||||
coverage==3.4
|
||||
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
|
||||
|
||||
[testenv:py25-django13]
|
||||
|
@ -30,15 +33,19 @@ basepython=python2.5
|
|||
deps=
|
||||
http://www.djangoproject.com/download/1.3-rc-1/tarball/
|
||||
simplejson
|
||||
coverage==3.4
|
||||
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
|
||||
|
||||
[testenv:py26-django13]
|
||||
basepython=python2.6
|
||||
deps=
|
||||
http://www.djangoproject.com/download/1.3-rc-1/tarball/
|
||||
coverage==3.4
|
||||
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
|
||||
|
||||
[testenv:py27-django13]
|
||||
basepython=python2.7
|
||||
deps=
|
||||
http://www.djangoproject.com/download/1.3-rc-1/tarball/
|
||||
coverage==3.4
|
||||
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
|
||||
|
|
Loading…
Reference in New Issue
Block a user