appveyor.yml 639 B

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