skip_branch_with_pr: true

environment:
  PATH: c:\tools\go\bin;$(PATH)
  GOPATH: $(HOMEDRIVE)$(HOMEPATH)\go
  MSYSTEM: MINGW64

clone_folder: $(GOPATH)\src\github.com\git-lfs\git-lfs

install:
  - cinst golang --version 1.8.0 -y
  - cinst InnoSetup -y
  - refreshenv

build_script:
  - bash --login -c 'GOARCH=386 script/bootstrap'
  - mv bin\git-lfs.exe git-lfs-x86.exe
  - bash --login -c 'GOARCH=amd64 script/bootstrap'
  - mv bin\git-lfs.exe git-lfs-x64.exe

after_build:
  - iscc script\windows-installer\inno-setup-git-lfs-installer.iss

test_script:
  - bash --login script/cibuild

artifacts:
  - path: git-lfs-x86.exe
  - path: git-lfs-x64.exe
  - path: git-lfs-windows-*.exe

skip_branch_with_pr: true

environment:
  GOPATH: $(HOMEDRIVE)$(HOMEPATH)\go
  MSYSTEM: MINGW64

clone_folder: $(GOPATH)\src\github.com\git-lfs\git-lfs

install:
  - rd C:\Go /s /q
  - cinst golang --version 1.8.0 -y
  - cinst InnoSetup -y
  - refreshenv

build_script:
  - bash --login -c 'GOARCH=386 script/bootstrap'
  - mv bin\git-lfs.exe git-lfs-x86.exe
  - bash --login -c 'GOARCH=amd64 script/bootstrap'
  - mv bin\git-lfs.exe git-lfs-x64.exe

after_build:
  - iscc script\windows-installer\inno-setup-git-lfs-installer.iss

test_script:
  - bash --login script/cibuild

artifacts:
  - path: git-lfs-x86.exe
  - path: git-lfs-x64.exe
  - path: git-lfs-windows-*.exe

Revert "AppVeyor: Override PATH with our Chocolatey Go version"
Revert "AppVeyor: Override PATH with our Chocolatey Go version"

This reverts commit 32caab0f280fd4c438891c0814ab98c43b679908.
