1
0
Fork 0

Test fix for drone

master
Ambrose Chua 2018-03-26 21:33:31 +08:00
parent 5186d178c7
commit d47d8e6f53
1 changed files with 5 additions and 3 deletions

View File

@ -3,11 +3,11 @@ matrix:
- "1.10"
GOOS:
- linux
- windows
- darwin
# - windows
# - darwin
GOARCH:
- amd64
- arm64
# - arm64
pipeline:
build:
image: golang:${GO_VERSION}-alpine
@ -15,6 +15,8 @@ pipeline:
commands:
- export FILENAME=${DRONE_REPO_NAME}-${GOOS}-${GOARCH}
- go version
- ls -lah
- ls vendor/
- go build -ldflags "-s -w" -o dist/$FILENAME
release:
image: plugins/github-release