Added Drone build config
This commit is contained in:
		
							
								
								
									
										11
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: build
 | 
				
			||||||
 | 
					  image: python2
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - apt-get -y update && apt-get -y install git python-pip cloc && pip install platformio
 | 
				
			||||||
 | 
					  - pio run
 | 
				
			||||||
 | 
					  - cloc --by-file --xml --out=.test/cloc.xml src include
 | 
				
			||||||
 | 
					  - make otaupload
 | 
				
			||||||
		Reference in New Issue
	
	Block a user