|
|
|
@ -18,10 +18,11 @@ install:
|
|
|
|
|
- if %BUILD_ENV%==gnu set MSYS=winsymlinks=lnk
|
|
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
|
- set LINKER_PKG_PATH=github.com/rqlite/rqlite/cmd
|
|
|
|
|
- go version
|
|
|
|
|
- go get ./...
|
|
|
|
|
- go build ./...
|
|
|
|
|
- go test ./...
|
|
|
|
|
- go install -ldflags="-X %LINKER_PKG_PATH%.Branch=%APPVEYOR_REPO_BRANCH% -X %LINKER_PKG_PATH%.Commit=%APPVEYOR_REPO_COMMIT%" ./...
|
|
|
|
|
|
|
|
|
|
after_build:
|
|
|
|
|
- 7z a rqlite-latest-win64.zip %GOPATH%\bin\rq*.exe
|
|
|
|
|