blob: a932eade0240aa2b5f9f5347b695ab173da0236a [file] [log] [blame]
Naveen Sampath04696f72022-06-13 15:19:14 +05301version: build-{build}.{branch}
2
3clone_folder: C:\gopath\src\github.com\pkg\errors
4shallow_clone: true # for startup speed
5
6environment:
7 GOPATH: C:\gopath
8
9platform:
10 - x64
11
12# http://www.appveyor.com/docs/installed-software
13install:
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
23build_script:
24 - go install -v ./...
25
26test_script:
27 - set PATH=C:\gopath\bin;%PATH%
28 - go test -v ./...
29
30#artifacts:
31# - path: '%GOPATH%\bin\*.exe'
32deploy: off