Update .travis.yml
This commit is contained in:
		
							
								
								
									
										11
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								.travis.yml
									
									
									
									
									
								
							@@ -5,5 +5,14 @@ addons:
 | 
			
		||||
  apt:
 | 
			
		||||
    update: true
 | 
			
		||||
    packages: shellcheck
 | 
			
		||||
    
 | 
			
		||||
install:
 | 
			
		||||
 - pip install -U pip
 | 
			
		||||
 - pip install -U flake8
 | 
			
		||||
 - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install -U black; fi
 | 
			
		||||
 | 
			
		||||
script: "for file in $(find . -type f -name \"*.sh\"); do shellcheck --format=gcc $file; done;"
 | 
			
		||||
script:
 | 
			
		||||
 - for file in $(find . -type f -name \"*.sh\"); do shellcheck --format=gcc $file; done;
 | 
			
		||||
 - cd benchmark/data
 | 
			
		||||
 - flake8 --statistics --count
 | 
			
		||||
 - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then black --check --diff .; fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user