-
-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy path.drone.yml
More file actions
29 lines (25 loc) · 567 Bytes
/
.drone.yml
File metadata and controls
29 lines (25 loc) · 567 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
workspace:
base: /go
path: src/github.com/err0r500/go-realworld-clean
pipeline:
prerequisites:
image: "golang:latest"
commands:
- go version
- go get -u github.com/golang/dep/cmd/dep
- dep ensure -vendor-only
test:
group: all
image: "golang:latest"
commands:
- go test ./...
build:
group: all
image: "golang:latest"
commands:
- make
linter:
image: "golang:latest"
commands:
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
- golangci-lint run -D errcheck