👷 Added drone CI/CD config

This commit is contained in:
Maxim Lebedev 2021-08-04 03:07:15 +05:00
parent f48d85832f
commit ada6bbdeb0
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 24 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
---
name: default
type: docker
kind: pipeline
steps:
- name: test
image: golang
volumes:
- name: deps
path: /go
commands:
- go test -v -cover -race ./...
- name: build
image: golang
volumes:
- name: deps
path: /go
commands:
- go build -ldflags "-extldflags '-static'" -o ./indieauth ./cmd/indieauth
depends_on:
- test
volumes:
- name: deps
temp: {}