appveyor.yml 742 B

123456789101112131415161718192021222324252627282930313233
  1. os: Visual Studio 2015
  2. # Clone directly into GOPATH.
  3. clone_folder: C:\gopath\src\github.com\karalabe\hid
  4. clone_depth: 1
  5. version: "{branch}.{build}"
  6. environment:
  7. global:
  8. GOPATH: C:\gopath
  9. CC: gcc.exe
  10. matrix:
  11. - GOARCH: amd64
  12. MSYS2_ARCH: x86_64
  13. MSYS2_BITS: 64
  14. MSYSTEM: MINGW64
  15. PATH: C:\msys64\mingw64\bin\;%PATH%
  16. - GOARCH: 386
  17. MSYS2_ARCH: i686
  18. MSYS2_BITS: 32
  19. MSYSTEM: MINGW32
  20. PATH: C:\msys64\mingw32\bin\;%PATH%
  21. install:
  22. - rmdir C:\go /s /q
  23. - appveyor DownloadFile https://storage.googleapis.com/golang/go1.8.windows-%GOARCH%.zip
  24. - 7z x go1.8.windows-%GOARCH%.zip -y -oC:\ > NUL
  25. - go version
  26. - gcc --version
  27. build_script:
  28. - go install ./...
  29. - go test -v ./...