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