1
0
mirror of https://github.com/taigrr/bitcask synced 2025-01-18 04:03:17 -08:00

Add Drone CI config

This commit is contained in:
James Mills 2021-07-14 22:30:01 +10:00
parent f357607cee
commit d276c398da
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

31
.drone.yml Normal file
View File

@ -0,0 +1,31 @@
---
kind: pipeline
name: default
steps:
- name: build & run tests
image: r.mills.io/prologic/golang-alpine
volumes:
- name: gomodcache
path: /go/pkg/mod/cache
privileged: true
environment:
GOPROXY: https://goproxy.mills.io
commands:
- make build
- make test
- name: notify
image: plugins/webhook
settings:
urls:
- https://msgbus.mills.io/ci.mills.io
when:
status:
- success
- failure
volumes:
- name: gomodcache
host:
path: /var/lib/cache/go