Naveen Sampath | 04696f7 | 2022-06-13 15:19:14 +0530 | [diff] [blame] | 1 | version: build-{build}.{branch} |
| 2 | |
| 3 | clone_folder: C:\gopath\src\github.com\pkg\errors |
| 4 | shallow_clone: true # for startup speed |
| 5 | |
| 6 | environment: |
| 7 | GOPATH: C:\gopath |
| 8 | |
| 9 | platform: |
| 10 | - x64 |
| 11 | |
| 12 | # http://www.appveyor.com/docs/installed-software |
| 13 | install: |
| 14 | # some helpful output for debugging builds |
| 15 | - go version |
| 16 | - go env |
| 17 | # pre-installed MinGW at C:\MinGW is 32bit only |
| 18 | # but MSYS2 at C:\msys64 has mingw64 |
| 19 | - set PATH=C:\msys64\mingw64\bin;%PATH% |
| 20 | - gcc --version |
| 21 | - g++ --version |
| 22 | |
| 23 | build_script: |
| 24 | - go install -v ./... |
| 25 | |
| 26 | test_script: |
| 27 | - set PATH=C:\gopath\bin;%PATH% |
| 28 | - go test -v ./... |
| 29 | |
| 30 | #artifacts: |
| 31 | # - path: '%GOPATH%\bin\*.exe' |
| 32 | deploy: off |