This commit is contained in:
parent
d7784dd071
commit
e0d8391c2e
1 changed files with 18 additions and 0 deletions
18
.drone.yml
Normal file
18
.drone.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: Backend
|
||||
image: golang:1.13
|
||||
commands:
|
||||
- |
|
||||
get get -v -t -d ./...
|
||||
if [ -f Gopkg.toml ]; then
|
||||
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
dep ensure
|
||||
fi
|
||||
- go test
|
||||
|
||||
#
|
Loading…
Reference in a new issue