parent
ed824600e9
commit
cc31b9d00a
@ -1,16 +1,18 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: golang
|
||||
image: golang:1.11
|
||||
group: build
|
||||
commands:
|
||||
- export GOPATH=/drone
|
||||
- go get -v -d ./...
|
||||
- go build .
|
||||
test:
|
||||
image: golang
|
||||
group: build
|
||||
image: golang:1.11
|
||||
group: test
|
||||
secrets: [ test_api_token ]
|
||||
environment: [ test_api_token ]
|
||||
commands:
|
||||
- export GOPATH=/drone
|
||||
- go get -v -d ./...
|
||||
- go test ./...
|
||||
publish:
|
||||
|
Loading…
Reference in New Issue
Block a user