mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Add travis config
This commit is contained in:
		
							parent
							
								
									1608583eaa
								
							
						
					
					
						commit
						07323d4cd6
					
				
							
								
								
									
										18
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
language: python
 | 
			
		||||
 | 
			
		||||
python:
 | 
			
		||||
  - "2.6"
 | 
			
		||||
  - "2.7"
 | 
			
		||||
 | 
			
		||||
env:
 | 
			
		||||
  - DJANGO=https://github.com/django/django/zipball/master
 | 
			
		||||
  - DJANGO=django==1.4.1 --use-mirrors
 | 
			
		||||
  - DJANGO=django==1.3.3 --use-mirrors
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
  - pip install $DJANGO 
 | 
			
		||||
  - pip install -e . --use-mirrors
 | 
			
		||||
  - pip install -r requirements.txt
 | 
			
		||||
 | 
			
		||||
script:
 | 
			
		||||
  - python setup.py test
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user