2018-09-01 06:24:36 +03: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-09-01 06:30:59 +03:00
|
|
|
CGO_ENABLED: 0
|
2015-05-01 05:24:53 +03:00
|
|
|
|
2015-01-14 06:23:08 +03:00
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
|
2015-01-02 23:22:54 +03: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 23:22:54 +03:00
|
|
|
- set PATH=%GOPATH%\bin;%PATH%
|
2021-03-05 03:38:08 +03:00
|
|
|
- set PATH=%GOROOT%\bin;%PATH%
|
2016-01-05 03:51:25 +03:00
|
|
|
- echo %PATH%
|
|
|
|
- echo %GOPATH%
|
2015-01-02 23:22:54 +03:00
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
|
|
- go env
|
|
|
|
- go version
|
|
|
|
|
|
|
|
build_script:
|
2018-09-01 06:11:54 +03:00
|
|
|
- go build
|
2015-01-02 23:22:54 +03:00
|
|
|
|
|
|
|
test_script:
|
2018-09-01 06:37:24 +03:00
|
|
|
- go test -cover ./...
|
2015-01-02 23:22:54 +03:00
|
|
|
|
|
|
|
deploy: off
|