.appveyor.yml 618 B

12345678910111213141516171819202122232425262728293031
  1. build: off
  2. clone_folder: c:\gopath\src\github.com\aliyun\alibaba-cloud-sdk-go
  3. environment:
  4. GOPATH: c:\gopath
  5. matrix:
  6. - go: 1.10.x
  7. - go: 1.11.x
  8. - go: 1.12.x
  9. platform:
  10. - x64
  11. install:
  12. - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
  13. - go get -u github.com/golang/dep/cmd/dep
  14. - dep ensure
  15. test_script:
  16. - go vet ./sdk
  17. - go vet ./services/...
  18. - go build ./sdk
  19. - go build ./services/...
  20. - go test -race -coverprofile=coverage.txt -covermode=atomic ./sdk/...
  21. - IF DEFINED ACCESS_KEY_ID (go test -v -timeout 120s ./integration/...)
  22. after_test:
  23. - bash <(curl -s https://codecov.io/bash)