2016-03-18 20:37:29 +02:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
|
|
|
clone_folder: c:\projects\src\github.com\rjeczalik\notify
|
|
|
|
|
|
|
|
environment:
|
|
|
|
PATH: c:\projects\bin;%PATH%
|
|
|
|
GOPATH: c:\projects
|
2018-08-21 16:13:03 +03:00
|
|
|
NOTIFY_TIMEOUT: 10s
|
|
|
|
GOVERSION: 1.10.3
|
2016-03-18 20:37:29 +02:00
|
|
|
|
|
|
|
install:
|
2018-08-21 16:13:03 +03:00
|
|
|
- rmdir c:\go /s /q
|
|
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
|
|
|
|
- 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL
|
|
|
|
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
2016-03-18 20:37:29 +02:00
|
|
|
- go version
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- go build ./...
|
2018-08-21 16:13:03 +03:00
|
|
|
- go test -v -timeout 120s -race ./...
|
2016-03-18 20:37:29 +02:00
|
|
|
|
|
|
|
test: off
|
|
|
|
|
|
|
|
deploy: off
|