2018-08-31 22:24:36 -05:00
|
|
|
clone_folder: c:\gopath\src\github.com\sosedoff\pgweb
|
|
|
|
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
2021-03-05 03:38:08 +03:00
|
|
|
GOROOT: c:\goroot116\go
|
|
|
|
GOTOOLDIR: c:\goroot116\go\pkg\tool\windows_amd64
|
2018-08-31 22:30:59 -05:00
|
|
|
CGO_ENABLED: 0
|
2015-04-30 21:24:53 -05:00
|
|
|
|
2015-01-13 21:23:08 -06:00
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
|
2015-01-02 14:22:54 -06:00
|
|
|
install:
|
2021-03-05 03:38:08 +03:00
|
|
|
- ps: mkdir c:\goroot116
|
|
|
|
- ps: iwr -outf c:\goroot116\go1.16.windows-amd64.zip https://golang.org/dl/go1.16.windows-amd64.zip
|
|
|
|
- ps: Expand-Archive c:\goroot116\go1.16.windows-amd64.zip -DestinationPath c:\goroot116
|
2015-01-02 14:22:54 -06:00
|
|
|
- set PATH=%GOPATH%\bin;%PATH%
|
2021-03-05 03:38:08 +03:00
|
|
|
- set PATH=%GOROOT%\bin;%PATH%
|
2016-01-04 18:51:25 -06:00
|
|
|
- echo %PATH%
|
|
|
|
- echo %GOPATH%
|
2015-01-02 14:22:54 -06:00
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
|
|
- go env
|
|
|
|
- go version
|
|
|
|
|
|
|
|
build_script:
|
2018-08-31 22:11:54 -05:00
|
|
|
- go build
|
2015-01-02 14:22:54 -06:00
|
|
|
|
|
|
|
test_script:
|
2018-08-31 22:37:24 -05:00
|
|
|
- go test -cover ./...
|
2015-01-02 14:22:54 -06:00
|
|
|
|
2022-01-08 14:52:21 -06:00
|
|
|
deploy: false
|