forked from minetest-mods/moreores
		
	Travis CI: Use the bionic distribution
				
					
				
			This commit is contained in:
		
							
								
								
									
										16
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								.travis.yml
									
									
									
									
									
								
							@@ -1,16 +1,16 @@
 | 
				
			|||||||
language: generic
 | 
					dist: bionic
 | 
				
			||||||
 | 
					language: python
 | 
				
			||||||
 | 
					
 | 
				
			||||||
addons:
 | 
					python:
 | 
				
			||||||
  apt:
 | 
					  - 3.7.1
 | 
				
			||||||
    packages:
 | 
					 | 
				
			||||||
    - luarocks
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
install:
 | 
					install:
 | 
				
			||||||
  - pyenv global 3.6.3
 | 
					  - sudo apt-get update -qq
 | 
				
			||||||
  - pip3 install --user pre-commit
 | 
					  - sudo apt-get install -qqq luarocks
 | 
				
			||||||
 | 
					  - pip3 install pre-commit
 | 
				
			||||||
  - luarocks install --local luacheck
 | 
					  - luarocks install --local luacheck
 | 
				
			||||||
 | 
					
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
  # All linters are run with pre-commit hooks
 | 
					  # All linters are run with pre-commit hooks
 | 
				
			||||||
  - export PATH="$HOME/.luarocks/bin:$PATH"
 | 
					  - export PATH="$HOME/.luarocks/bin:$PATH"
 | 
				
			||||||
  - $HOME/.local/bin/pre-commit run --all-files
 | 
					  - pre-commit run --all-files
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user