Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
914971d1c1
commit
acadf875f5
1 changed files with 7 additions and 4 deletions
11
.drone.yml
11
.drone.yml
|
@ -1,11 +1,14 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: exec
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: backend
|
- name: backend
|
||||||
image: golang
|
|
||||||
commands:
|
commands:
|
||||||
- go build
|
- docker run -i --rm -u 0 -v $(pwd):/go/src/mtest -w /go/src/mtest golang go test -v .
|
||||||
- go test
|
|
||||||
|
|
Loading…
Reference in a new issue