appveyor.yml 894 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # version format
  2. version: "{build}"
  3. # Operating system (build VM template)
  4. os: Windows Server 2012 R2
  5. clone_folder: c:\gopath\src\github.com\minio\minio-go
  6. # environment variables
  7. environment:
  8. GOPATH: c:\gopath
  9. GO15VENDOREXPERIMENT: 1
  10. # scripts that run after cloning repository
  11. install:
  12. - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
  13. - go version
  14. - go env
  15. - go get -u golang.org/x/lint/golint
  16. - go get -u github.com/remyoudompheng/go-misc/deadcode
  17. - go get -u github.com/gordonklaus/ineffassign
  18. - go get -u golang.org/x/crypto/argon2
  19. - go get -t ./...
  20. # to run your custom scripts instead of automatic MSBuild
  21. build_script:
  22. - go vet ./...
  23. - gofmt -s -l .
  24. - golint -set_exit_status github.com/minio/minio-go...
  25. - deadcode
  26. - ineffassign .
  27. - go test -short -v
  28. - go test -short -race -v
  29. # to disable automatic tests
  30. test: off
  31. # to disable deployment
  32. deploy: off