version: 0.1.{build}

image: Visual Studio 2017

clone_folder: c:\gopath\src\github.com\Microsoft\hcsshim

environment:
  GOPATH: c:\gopath
  PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%

build_script:
  - go get -v -t ./...
  - go build ./cmd/wclayer
  - go build ./cmd/runhcs
  - go test -v ./... -tags admin

artifacts:
  - path: 'wclayer.exe'
  - path: 'runhcs.exe'
