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=