mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-19 23:14:48 +00:00
Not needed for go modules
This commit is contained in:
@@ -2,19 +2,10 @@ clone:
|
|||||||
git:
|
git:
|
||||||
image: plugins/git:next
|
image: plugins/git:next
|
||||||
|
|
||||||
workspace:
|
|
||||||
base: /go
|
|
||||||
path: src/github.com/laszlocph/woodpecker
|
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test:
|
||||||
image: golang:1.12.4
|
image: golang:1.12.4
|
||||||
commands:
|
commands:
|
||||||
- go get -u golang.org/x/tools/cmd/cover
|
|
||||||
- go get -u golang.org/x/net/context
|
|
||||||
- go get -u golang.org/x/net/context/ctxhttp
|
|
||||||
- go get -u github.com/golang/protobuf/proto
|
|
||||||
- go get -u github.com/golang/protobuf/protoc-gen-go
|
|
||||||
- go test -cover -timeout 30s $(go list ./... | grep -v /vendor/)
|
- go test -cover -timeout 30s $(go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
test_postgres:
|
test_postgres:
|
||||||
|
Reference in New Issue
Block a user