2017-07-23 12:24:45 +00:00
|
|
|
# version format
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
# Operating system (build VM template)
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
2019-11-22 13:57:56 +00:00
|
|
|
# Platform.
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\github.com\minio\sha256-simd
|
2017-07-23 12:24:45 +00:00
|
|
|
|
|
|
|
# environment variables
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
|
|
|
GO15VENDOREXPERIMENT: 1
|
|
|
|
|
|
|
|
# scripts that run after cloning repository
|
|
|
|
install:
|
|
|
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
|
|
|
|
# to run your custom scripts instead of automatic MSBuild
|
|
|
|
build_script:
|
2019-11-22 13:57:56 +00:00
|
|
|
- go test .
|
|
|
|
- go test -race .
|
2017-07-23 12:24:45 +00:00
|
|
|
|
|
|
|
# to disable automatic tests
|
|
|
|
test: off
|
|
|
|
|
|
|
|
# to disable deployment
|
|
|
|
deploy: off
|