appveyor.yml 714 B

12345678910111213141516171819202122232425262728293031323334
  1. version: "{build}"
  2. os: Windows Server 2012 R2
  3. # scripts that are called at very beginning, before repo cloning
  4. init:
  5. - git config --global core.autocrlf true
  6. clone_folder: c:\gopath\src\github.com\CloudyKit\jet
  7. environment:
  8. GOPATH: c:\gopath
  9. GO111MODULE: on
  10. matrix:
  11. - GOVERSION: 113
  12. install:
  13. - set PATH=%GOPATH%\bin;c:\go%GOVERSION%\bin;%PATH%
  14. - set GOROOT=c:\go%GOVERSION%
  15. - echo %PATH%
  16. - echo %GOPATH%
  17. - go version
  18. - go env
  19. build: off
  20. test_script:
  21. - go test -v ./...
  22. - cd examples/asset_packaging/
  23. - go run main.go --run-and-exit
  24. - go get -u github.com/shurcooL/vfsgen
  25. - go generate
  26. - go build -tags=deploy_build -o bin/app.exe main.go
  27. - .\bin\app.exe --run-and-exit