appveyor.yml 671 B

1234567891011121314151617181920212223242526272829303132
  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. - set %PATH%;c:\mingw64\bin
  14. - echo %PATH%
  15. - echo %GOPATH%
  16. - go version
  17. - go env
  18. - go get -d ./...
  19. test_script:
  20. - set GO_ENABLED=1
  21. - go build -x -v -tags "pam" -ldflags "-w"
  22. notifications:
  23. - provider: Email
  24. to:
  25. - [email protected]
  26. on_build_success: false