parent
a843a9b3a7
commit
7e4927997a
1 changed files with 10 additions and 10 deletions
20
.drone.yml
20
.drone.yml
|
|
@ -3,16 +3,16 @@ workspace:
|
||||||
path: src
|
path: src
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test_pr:
|
#test_pr:
|
||||||
image: golang:alpine
|
# image: golang:alpine
|
||||||
environment:
|
# environment:
|
||||||
- CGO_ENABLED=0
|
# - CGO_ENABLED=0
|
||||||
- GOOS=linux
|
# - GOOS=linux
|
||||||
commands:
|
# commands:
|
||||||
- go test -cover db.go
|
# - go test -cover db.go
|
||||||
- go test -cover srv.go
|
# - go test -cover srv.go
|
||||||
when:
|
# when:
|
||||||
event: [ push, pull_request ]
|
# event: [ push, pull_request ]
|
||||||
|
|
||||||
build_pr:
|
build_pr:
|
||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue