diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..361764a --- /dev/null +++ b/.drone.yml @@ -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