Commit fabf7c25 by markotibold

Coverage for all platforms working. Had some trouble with dependencies of…

Coverage for all platforms working. Had some trouble with dependencies of coverage of python-dev for the various platforms.
parent cf1f8348
...@@ -3,6 +3,7 @@ syntax: glob ...@@ -3,6 +3,7 @@ syntax: glob
*.pyc *.pyc
*.db *.db
*~ *~
coverage.xml
env env
docs/build docs/build
html html
......
...@@ -47,6 +47,7 @@ def main(): ...@@ -47,6 +47,7 @@ def main():
cov.stop() cov.stop()
cov.report(cov_files) cov.report(cov_files)
cov.xml_report(cov_files)
sys.exit(failures) sys.exit(failures)
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -18,7 +18,7 @@ setup( ...@@ -18,7 +18,7 @@ setup(
'djangorestframework.runtests'], 'djangorestframework.runtests'],
package_dir={'djangorestframework': 'djangorestframework'}, package_dir={'djangorestframework': 'djangorestframework'},
package_data = {'djangorestframework': ['templates/*', 'static/*']}, package_data = {'djangorestframework': ['templates/*', 'static/*']},
test_suite = 'djangorestframework.runtests.runtests.main', test_suite = 'djangorestframework.runtests.runcoverage.main',
classifiers = [ classifiers = [
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
'Environment :: Web Environment', 'Environment :: Web Environment',
......
...@@ -11,18 +11,21 @@ basepython=python2.5 ...@@ -11,18 +11,21 @@ basepython=python2.5
deps= deps=
django==1.2.4 django==1.2.4
simplejson simplejson
coverage==3.4
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py26-django12] [testenv:py26-django12]
basepython=python2.6 basepython=python2.6
deps= deps=
django==1.2.4 django==1.2.4
coverage==3.4
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py27-django12] [testenv:py27-django12]
basepython=python2.7 basepython=python2.7
deps= deps=
django==1.2.4 django==1.2.4
coverage==3.4
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py25-django13] [testenv:py25-django13]
...@@ -30,15 +33,19 @@ basepython=python2.5 ...@@ -30,15 +33,19 @@ basepython=python2.5
deps= deps=
http://www.djangoproject.com/download/1.3-rc-1/tarball/ http://www.djangoproject.com/download/1.3-rc-1/tarball/
simplejson simplejson
coverage==3.4
https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py26-django13] [testenv:py26-django13]
basepython=python2.6 basepython=python2.6
deps= deps=
http://www.djangoproject.com/download/1.3-rc-1/tarball/ 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 https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
[testenv:py27-django13] [testenv:py27-django13]
basepython=python2.7 basepython=python2.7
deps= deps=
http://www.djangoproject.com/download/1.3-rc-1/tarball/ 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 https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip
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