forked from mff/maptools
		
	Set up Travis CI
This commit is contained in:
		
							
								
								
									
										15
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
language: generic
 | 
			
		||||
 | 
			
		||||
addons:
 | 
			
		||||
  apt:
 | 
			
		||||
    packages:
 | 
			
		||||
    - luarocks
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
  - pyenv global 3.6.3
 | 
			
		||||
  - pip3 install --user pre-commit
 | 
			
		||||
  - luarocks install --local luacheck
 | 
			
		||||
 | 
			
		||||
script:
 | 
			
		||||
  - $HOME/.local/bin/pre-commit run --all-files
 | 
			
		||||
  - $HOME/.luarocks/bin/luacheck .
 | 
			
		||||
		Reference in New Issue
	
	Block a user