diff --git a/.drone.yml b/.drone.yml index aefd3cd..05a35af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,16 +1,28 @@ --- kind: pipeline -name: default +name: testing platform: os: linux arch: amd64 steps: -- name: test +- name: vet image: golang:1.11 commands: - - go test -v --cover ./... + - go vet ./... + volumes: + - name: gopath + path: /go -... +- name: test + image: golang:1.11 + commands: + - go test -cover ./... + volumes: + - name: gopath + path: /go +volumes: +- name: gopath + temp: {}