version: "{build}" platform: x64 image: Visual Studio 2017 clone_folder: c:\gopath\src\gopkg.in\src-d\hercules.v9 environment: GOPATH: c:\gopath install: - curl -SLko protoc.zip https://github.com/google/protobuf/releases/download/v3.6.0/protoc-3.6.0-win32.zip - 7z e protoc.zip - move protoc.exe C:\msys64\mingw64\bin build_script: - go version - set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%GOPATH%\bin;%PATH% - set PATH=%PATH:C:\Program Files\Git\usr\bin;=% - cd %GOPATH%\src\gopkg.in\src-d\hercules.v9 - go get -v github.com/golang/dep/cmd/dep - make - 7z a c:\gopath\src\gopkg.in\src-d\hercules.v9\hercules.win64.zip %GOPATH%\bin\hercules.exe test_script: - go get -v -t -d gopkg.in/src-d/hercules.v9/... - go test -v -race -tags disable_babelfish gopkg.in/src-d/hercules.v9/... artifacts: - name: hercules.win64.zip path: hercules.win64.zip deploy: release: $(APPVEYOR_REPO_TAG_NAME) provider: GitHub auth_token: secure: 78zsH4q19DqcpdkwnYHQoe0BakBfv+LGu1W7mXuaBC9mS87+EuAj3+yTzJv4NEfI artifact: hercules.win64.zip on: branch: master appveyor_repo_tag: true