You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
251 B
YAML

6 years ago
#build example
workspace:
base: /go
path: src/github.com/drone-demos/drone-with-go
pipeline:
test:
image: golang:latest
commands:
- go vet
- go test -v -cover
build:
image: golang:latest
commands:
- go build