pgweb/appveyor.yml

30 lines
676 B
YAML
Raw Normal View History

2018-09-01 06:24:36 +03:00
clone_folder: c:\gopath\src\github.com\sosedoff\pgweb
environment:
GOPATH: c:\gopath
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
services:
- postgresql
install:
- 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
- set PATH=%GOPATH%\bin;%PATH%
- set PATH=%GOROOT%\bin;%PATH%
2016-01-05 03:51:25 +03:00
- echo %PATH%
- echo %GOPATH%
- cd %APPVEYOR_BUILD_FOLDER%
- go env
- go version
build_script:
2018-09-01 06:11:54 +03:00
- go build
test_script:
2018-09-01 06:37:24 +03:00
- go test -cover ./...
deploy: off