mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-01-18 18:46:44 +01:00
Fix CI for go 1.11
This commit is contained in:
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…
Reference in New Issue
Block a user