diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..441d1fe --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +kind: pipeline +name: default + +steps: +- name: test + image: golang + volumes: + - name: deps + path: /go + commands: + - go get ./... + - go test -v ./... + +- name: build + image: golang + volumes: + - name: deps + path: /go + commands: + - GO111MODULE=on go build + +volumes: +- name: deps + temp: {}