mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Run mypy on Travis
`tests/scripts/all.sh check_python_files` now runs mypy (in addition to pylint) if it's available. So install mypy. Install mypy 0.780, which is the earliest version that works on our code at this time. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
		
							parent
							
								
									0370c17105
								
							
						
					
					
						commit
						f71ff1f0ad
					
				@ -17,7 +17,7 @@ jobs:
 | 
				
			|||||||
      language: python # Needed to get pip for Python 3
 | 
					      language: python # Needed to get pip for Python 3
 | 
				
			||||||
      python: 3.5 # version from Ubuntu 16.04
 | 
					      python: 3.5 # version from Ubuntu 16.04
 | 
				
			||||||
      install:
 | 
					      install:
 | 
				
			||||||
        - pip install pylint==2.4.4
 | 
					        - pip install mypy==0.780 pylint==2.4.4
 | 
				
			||||||
      script:
 | 
					      script:
 | 
				
			||||||
        - tests/scripts/all.sh -k 'check_*'
 | 
					        - tests/scripts/all.sh -k 'check_*'
 | 
				
			||||||
        - tests/scripts/all.sh -k test_default_out_of_box
 | 
					        - tests/scripts/all.sh -k test_default_out_of_box
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user