本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
639B

  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
上海开阖软件有限公司 沪ICP备12045867号-1