appveyor.yml 901 B

1234567891011121314151617181920212223242526272829
  1. version: 0.1.{build}
  2. image: Visual Studio 2017
  3. clone_folder: c:\gopath\src\github.com\Microsoft\hcsshim
  4. environment:
  5. GOPATH: c:\gopath
  6. PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%GOPATH%\bin;C:\gometalinter-2.0.12-windows-amd64;%PATH%
  7. stack: go 1.11
  8. build_script:
  9. - appveyor DownloadFile https://github.com/alecthomas/gometalinter/releases/download/v2.0.12/gometalinter-2.0.12-windows-amd64.zip
  10. - 7z x gometalinter-2.0.12-windows-amd64.zip -y -oC:\ > NUL
  11. - gometalinter.exe --config .gometalinter.json ./...
  12. - go build ./cmd/wclayer
  13. - go build ./cmd/runhcs
  14. - go build ./cmd/tar2ext4
  15. - go test -v ./... -tags admin
  16. - go test -c ./test/functional/ -tags functional
  17. - go test -c ./test/runhcs/ -tags integration
  18. artifacts:
  19. - path: 'wclayer.exe'
  20. - path: 'runhcs.exe'
  21. - path: 'tar2ext4.exe'
  22. - path: 'functional.test.exe'
  23. - path: 'runhcs.test.exe'