From 9bd612c13639714449e812728a850a32beee49a0 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 4 May 2019 00:05:20 +0200 Subject: [PATCH] ci: create --- .drone.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yml 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: {}