version: "{build}" image: Visual Studio 2017 clone_folder: C:\gopath\src\github.com\redhat-developer\odo environment: GOPATH: C:\gopath GOVERSION: 1.11 platform: - x64 init: # required to get around following error # error: unable to create file vendor/github.com/kubernetes-incubator/service-catalog/cmd/svcat/testdata/responses/catalog/clusterserviceplans_fieldSelector=spec.clusterServiceClassRef.name=4f6e6cf6-ffdd-425f-a2c7-3c9258ad2468,spec.externalName=default.json: Filename too long - git config --system core.longpaths true install: - 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 - go version - go env - copy C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\mingw32-make.exe C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\make.exe - set PATH=%PATH%;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%GOPATH%\bin - make goget-tools test_script: - make test build_script: - make cross after_test: - ps : 7z a -tgzip odo-linux-amd64.gz dist\bin\linux-amd64\odo - ps : 7z a -tgzip odo-linux-arm.gz dist\bin\linux-arm\odo - ps : 7z a -tgzip odo-darwin-amd64.gz dist\bin\darwin-amd64\odo - ps : 7z a -tgzip odo-windows-amd64.gz dist\bin\windows-amd64\odo.exe artifacts: - path: odo-linux-amd64.gz name: Linux-amd64 binary - path: odo-linux-arm.gz name: Linux-arm binary - path: odo-darwin-amd64.gz name: OS-X binary - path: odo-windows-amd64.gz name: Windows-amd64 binary