Test fix for drone
parent
5186d178c7
commit
d47d8e6f53
|
@ -3,11 +3,11 @@ matrix:
|
||||||
- "1.10"
|
- "1.10"
|
||||||
GOOS:
|
GOOS:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
# - windows
|
||||||
- darwin
|
# - darwin
|
||||||
GOARCH:
|
GOARCH:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
# - arm64
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: golang:${GO_VERSION}-alpine
|
image: golang:${GO_VERSION}-alpine
|
||||||
|
@ -15,6 +15,8 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
|
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
|
||||||
- go version
|
- go version
|
||||||
|
- ls -lah
|
||||||
|
- ls vendor/
|
||||||
- go build -ldflags "-s -w" -o dist/$FILENAME
|
- go build -ldflags "-s -w" -o dist/$FILENAME
|
||||||
release:
|
release:
|
||||||
image: plugins/github-release
|
image: plugins/github-release
|
||||||
|
|
Loading…
Reference in New Issue