You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							535 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							21 lines
						
					
					
						
							535 B
						
					
					
				
								dist: xenial
							 | 
						|
								
							 | 
						|
								env:
							 | 
						|
								  global:
							 | 
						|
								    - HADOLINT_VERSION=1.17.1
							 | 
						|
								
							 | 
						|
								language: rust
							 | 
						|
								rust: nightly
							 | 
						|
								cache: cargo
							 | 
						|
								
							 | 
						|
								before_install:
							 | 
						|
								  - sudo curl -L https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint
							 | 
						|
								  - sudo chmod +rx /usr/local/bin/hadolint
							 | 
						|
								  - rustup set profile minimal
							 | 
						|
								
							 | 
						|
								# Nothing to install
							 | 
						|
								install: true
							 | 
						|
								script:
							 | 
						|
								- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint
							 | 
						|
								- cargo build --features "sqlite"
							 | 
						|
								- cargo build --features "mysql"
							 | 
						|
								
							 |