appveyor.yml 700 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. version: "{build}"
  2. # Source Config
  3. clone_folder: c:\gopath\src\github.com\docker\engine-api
  4. # Build host
  5. environment:
  6. GOPATH: c:\gopath
  7. GOVERSION: 1.6
  8. init:
  9. - git config --global core.autocrlf input
  10. # Build
  11. install:
  12. # Install Go 1.6.
  13. - rmdir c:\go /s /q
  14. - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
  15. - msiexec /i go%GOVERSION%.windows-amd64.msi /q
  16. - set Path=c:\go\bin;c:\gopath\bin;%Path%
  17. - go version
  18. - go env
  19. build: false
  20. deploy: false
  21. before_test:
  22. - go get -t ./...
  23. - go get github.com/golang/lint/golint
  24. test_script:
  25. - go vet ./...
  26. - golint ./...
  27. - gofmt -s -l .
  28. - go test -race -cover -v -tags=test ./...