drone-template-lib/.drone.yml

19 lines
320 B
YAML
Raw Normal View History

2018-03-29 23:04:58 +00:00
workspace:
base: /go
path: src/github.com/drone/drone-template-lib
pipeline:
deps:
image: golang:1.10
pull: true
commands:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
test:
image: golang:1.10
pull: true
commands:
- go vet ./...
- go test -cover ./...