Add DroneCI
This commit is contained in:
parent
3df76ec650
commit
d7d4bfb2f1
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
|
Loading…
x
Reference in New Issue
Block a user