tiny-url-ex/.drone.yml

25 lines
301 B
YAML

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: {}