mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 03:36:33 +03:00
31 lines
679 B
YAML
31 lines
679 B
YAML
clone_folder: c:\gopath\src\github.com\sosedoff\pgweb
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
GOROOT: c:\goroot118\go
|
|
GOTOOLDIR: c:\goroot118\go\pkg\tool\windows_amd64
|
|
CGO_ENABLED: 0
|
|
|
|
services:
|
|
- postgresql
|
|
|
|
install:
|
|
- ps: mkdir c:\goroot118
|
|
- ps: iwr -outf c:\goroot118\go1.18.windows-amd64.zip https://golang.org/dl/go1.18.windows-amd64.zip
|
|
- ps: Expand-Archive c:\goroot118\go1.18.windows-amd64.zip -DestinationPath c:\goroot118
|
|
- set PATH=%GOPATH%\bin;%PATH%
|
|
- set PATH=%GOROOT%\bin;%PATH%
|
|
- echo %PATH%
|
|
- echo %GOPATH%
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- go env
|
|
- go version
|
|
|
|
build_script:
|
|
- go build
|
|
|
|
test_script:
|
|
- go test -cover ./...
|
|
|
|
deploy: false
|