From 07aa02f19683663726b561b0673bac6b231a1029 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 10 Sep 2016 21:05:00 -0700 Subject: [PATCH] build: Fix appveyor.yml to report windows coverage as well. (#2666) --- appveyor.yml | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ca9ff06a1..088fe69db 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,7 @@ platform: x64 clone_folder: c:\gopath\src\github.com\minio\minio -# environment variables +# Environment variables environment: GOPATH: c:\gopath GO15VENDOREXPERIMENT: 1 @@ -19,21 +19,36 @@ install: - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% - go version - go env + - python --version -# to run your custom scripts instead of automatic MSBuild +# To run your custom scripts instead of automatic MSBuild build_script: - - go test -race github.com/minio/minio/cmd... - - go test -race github.com/minio/minio/pkg... - - go test -coverprofile=coverage.txt -covermode=atomic + # Compile + - appveyor AddCompilationMessage "Starting Compile" + - cd c:\gopath\src\github.com\minio\minio - go run buildscripts/gen-ldflags.go > temp.txt - set /p BUILD_LDFLAGS=