This commit is contained in:
		
							
								
								
									
										16
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: default
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: test
 | 
			
		||||
  image: rust:1.65
 | 
			
		||||
  commands:
 | 
			
		||||
  # Format
 | 
			
		||||
  - rustup component add rustfmt
 | 
			
		||||
  - cargo fmt --verbose --all -- --check
 | 
			
		||||
  # Lint
 | 
			
		||||
  - rustup component add clippy
 | 
			
		||||
  - cargo clippy --verbose --all -- -D warnings
 | 
			
		||||
  # Test
 | 
			
		||||
  - cargo test --verbose --all
 | 
			
		||||
		Reference in New Issue
	
	Block a user