зеркало из https://github.com/docker/engine-api.git
38 строки
700 B
YAML
38 строки
700 B
YAML
version: "{build}"
|
|
|
|
# Source Config
|
|
clone_folder: c:\gopath\src\github.com\docker\engine-api
|
|
|
|
# Build host
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
GOVERSION: 1.6
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
# Build
|
|
|
|
install:
|
|
# Install Go 1.6.
|
|
- rmdir c:\go /s /q
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
|
|
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
|
|
- set Path=c:\go\bin;c:\gopath\bin;%Path%
|
|
- go version
|
|
- go env
|
|
|
|
build: false
|
|
deploy: false
|
|
|
|
before_test:
|
|
- go get -t ./...
|
|
- go get github.com/golang/lint/golint
|
|
|
|
test_script:
|
|
- go vet ./...
|
|
- golint ./...
|
|
- gofmt -s -l .
|
|
- go test -race -cover -v -tags=test ./...
|