mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +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
					
				| 
						 | 
					@ -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():
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    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__':
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							| 
						 | 
					@ -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',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										7
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								tox.ini
									
									
									
									
									
								
							| 
						 | 
					@ -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
 | 
				
			||||||
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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user