mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-04-18 13:54:42 +02:00
Fix CI for go 1.11
This commit is contained in:
parent
ed824600e9
commit
cc31b9d00a
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue