Fix CI for go 1.11
the build failed
Details
the build failed
Details
This commit is contained in:
parent
ed824600e9
commit
b91130bce6
|
@ -1,16 +1,20 @@
|
||||||
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: build
|
||||||
secrets: [ test_api_token ]
|
secrets: [ test_api_token ]
|
||||||
environment: [ test_api_token ]
|
environment: [ test_api_token ]
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir -p $GOPATH/src/git.klmp200.net/ALFRED/ALFRED
|
||||||
|
- mv . /$GOPATH/src/git.klmp200.net/ALFRED/ALFRED
|
||||||
|
- cd $GOPATH/src/git.klmp200.net/ALFRED/ALFRED
|
||||||
- go get -v -d ./...
|
- go get -v -d ./...
|
||||||
- go test ./...
|
- go test ./...
|
||||||
publish:
|
publish:
|
||||||
|
|
Loading…
Reference in New Issue