mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-31 16:07:38 +03:00 
			
		
		
		
	All should work fine now on jenkins. For some reason Tox with jenkins and env names of the form platform-djangoversion-examples results in an OSError Permission denied. No clue why.
This commit is contained in:
		
							parent
							
								
									34c4585c6e
								
							
						
					
					
						commit
						e3b08c7f74
					
				|  | @ -1,6 +1,6 @@ | |||
| import os | ||||
| import sys | ||||
| os.environ['DJANGO_SETTINGS_MODULE'] = 'examples.settings' | ||||
| os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' | ||||
| 
 | ||||
| from django.conf import settings | ||||
| from django.test.utils import get_runner | ||||
|  |  | |||
							
								
								
									
										18
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								tox.ini
									
									
									
									
									
								
							|  | @ -1,5 +1,5 @@ | |||
| #This file is very NON-DRY because tox currently doesn't yet support interpolation like configparser does. | ||||
| #There's ticket covering this at http://code.google.com/p/pytox/issues/detail?id=17#c0 | ||||
| #This file is very NON-DRY because tox currently doesn't support interpolation like configparser does. | ||||
| #There's a ticket covering this at http://code.google.com/p/pytox/issues/detail?id=17#c0 | ||||
| 
 | ||||
| [tox] | ||||
| envlist= | ||||
|  | @ -12,10 +12,10 @@ envlist= | |||
| 	 | ||||
|     py25-django12e, | ||||
|     py26-django12e, | ||||
|     py27-django12-examples, | ||||
|     py25-django13-examples, | ||||
|     py26-django13-examples, | ||||
|     py27-django13-examples | ||||
|     py27-django12e, | ||||
|     py25-django13e, | ||||
|     py26-django13e, | ||||
|     py27-django13e | ||||
| 
 | ||||
| ########################################### CORE TESTS ############################################ | ||||
| 
 | ||||
|  | @ -96,7 +96,7 @@ deps= | |||
| 	Markdown==2.0.3 | ||||
|     https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip | ||||
| 
 | ||||
| [testenv:py27-django12-examples] | ||||
| [testenv:py27-django12e] | ||||
| basepython=python2.7 | ||||
| commands= | ||||
| 	python examples/runtests.py | ||||
|  | @ -123,7 +123,7 @@ deps= | |||
| 	Markdown==2.0.3 | ||||
|     https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip | ||||
| 
 | ||||
| [testenv:py26-django13-examples] | ||||
| [testenv:py26-django13e] | ||||
| basepython=python2.6 | ||||
| commands= | ||||
| 	python examples/runtests.py | ||||
|  | @ -136,7 +136,7 @@ deps= | |||
| 	Markdown==2.0.3 | ||||
| 	https://github.com/downloads/markotibold/unittest-xml-reporting/unittest-xml-reporting-1.1.zip | ||||
| 
 | ||||
| [testenv:py27-django13-examples] | ||||
| [testenv:py27-django13e] | ||||
| basepython=python2.7 | ||||
| commands= | ||||
| 	python examples/runtests.py | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user