appveyor.yml 687 B

123456789101112131415161718192021222324252627282930313233
  1. version: "{build}"
  2. skip_tags: true
  3. clone_folder: c:\gopath\src\github.com\lifei6671\godoc
  4. clone_depth: 1
  5. environment:
  6. GOPATH: c:\gopath
  7. GOVERSION: 1.8
  8. build: false
  9. deploy: true
  10. install:
  11. - ps: Start-FileDownload "http://libgd.blob.core.windows.net/mingw/x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z"
  12. - ps: 7z x -oC:\ x86_64-4.9.1-release-posix-seh-rt_v3-rev1.7z | out-null
  13. - ps: dir c:\
  14. - set %PATH%;c:\mingw64\bin
  15. - echo %PATH%
  16. - echo %GOPATH%
  17. - go version
  18. - go env
  19. - go get -d ./...
  20. test_script:
  21. - set GO_ENABLED=1
  22. - go build -x -v -tags "pam" -ldflags "-w"
  23. notifications:
  24. - provider: Email
  25. to:
  26. - [email protected]
  27. on_build_success: false