| 1 | version: "{build}" |
| 2 | |
| 3 | os: Windows Server 2012 R2 |
| 4 | |
| 5 | clone_folder: c:\projects\src\github.com\rjeczalik\notify |
| 6 | |
| 7 | environment: |
| 8 | PATH: c:\projects\bin;%PATH% |
| 9 | GOPATH: c:\projects |
| 10 | NOTIFY_TIMEOUT: 10s |
| 11 | GOVERSION: 1.10.3 |
| 12 | |
| 13 | install: |
| 14 | - rmdir c:\go /s /q |
| 15 | - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip |
| 16 | - 7z x go%GOVERSION%.windows-amd64.zip -y -oC:\ > NUL |
| 17 | |
| 18 | - cd %APPVEYOR_BUILD_FOLDER% |
| 19 | - go version |
| 20 | |
| 21 | build_script: |
| 22 | - go build ./... |
| 23 | - go test -v -timeout 120s -race ./... |
| 24 | |
| 25 | test: off |
| 26 | |
| 27 | deploy: off |