Separate drone steps and add clippy
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									e75a326f7d
								
							
						
					
					
						commit
						2d0927cff2
					
				
							
								
								
									
										22
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -13,14 +13,32 @@ steps: | ||||
|     mount: | ||||
|       - ./target | ||||
| 
 | ||||
| - name: build | ||||
|   image: rust:1 | ||||
|   volumes: | ||||
|   - name: cargo-registry | ||||
|     path: /usr/local/cargo/registry | ||||
|   commands: | ||||
|   - cargo build --verbose | ||||
| 
 | ||||
| - name: test | ||||
|   image: rust:1 | ||||
|   volumes: | ||||
|   - name: cargo-registry | ||||
|     path: /usr/local/cargo/registry | ||||
|   commands: | ||||
|   - cargo build --verbose --all | ||||
|   - cargo test --verbose --all | ||||
|   - cargo test --verbose | ||||
| 
 | ||||
| - name: clippy | ||||
|   image: rust:1 | ||||
|   failure: ignore | ||||
|   volumes: | ||||
|   - name: cargo-registry | ||||
|     path: /usr/local/cargo/registry | ||||
|   commands: | ||||
|   - rustup component add clippy | ||||
|   - cargo clean -p sprinklers_rs | ||||
|   - cargo clippy --all-targets --all-features -- -D warnings | ||||
| 
 | ||||
| - name: rebuild-target-cache | ||||
|   image: drillster/drone-volume-cache | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user