Add DroneCI
This commit is contained in:
		
							
								
								
									
										33
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: default | ||||
|  | ||||
| steps: | ||||
| - name: install | ||||
|   image: elixir:1.18 | ||||
|   volumes: | ||||
|   - name: mix | ||||
|     path: /root/.mix | ||||
|   commands: | ||||
|   - mix local.rebar --force | ||||
|   - mix local.hex --force | ||||
|   - mix deps.get | ||||
|  | ||||
| - name: test | ||||
|   image: elixir:1.18 | ||||
|   volumes: | ||||
|   - name: mix | ||||
|     path: /root/.mix | ||||
|   commands: | ||||
|   - mix test | ||||
|  | ||||
| volumes: | ||||
| - name: mix | ||||
|   temp: {} | ||||
|  | ||||
| services: | ||||
| - name: database | ||||
|   image: postgres:17.2-alpine | ||||
|   environment: | ||||
|     POSTGRES_USER: postgres | ||||
|     POSTGRES_DB: test | ||||
		Reference in New Issue
	
	Block a user