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