.appveyor.yml 952 B

12345678910111213141516171819202122232425262728293031323334353637
  1. version: "{build}"
  2. platform: x64
  3. image: Visual Studio 2017
  4. clone_folder: c:\boilerplate
  5. cache:
  6. - vendor
  7. install:
  8. - curl -SLko protoc.zip https://github.com/google/protobuf/releases/download/v3.6.0/protoc-3.6.0-win32.zip
  9. - 7z e protoc.zip
  10. - move protoc.exe C:\msys64\mingw64\bin
  11. build_script:
  12. - go version
  13. - 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;%PATH%
  14. - set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
  15. - make
  16. - 7z a hercules.win64.zip hercules.exe
  17. test_script:
  18. - go test -v -timeout 20m -race -tags disable_babelfish gopkg.in/src-d/hercules.v10/...
  19. artifacts:
  20. - name: hercules.win64.zip
  21. path: hercules.win64.zip
  22. deploy:
  23. release: $(APPVEYOR_REPO_TAG_NAME)
  24. provider: GitHub
  25. auth_token:
  26. secure: 78zsH4q19DqcpdkwnYHQoe0BakBfv+LGu1W7mXuaBC9mS87+EuAj3+yTzJv4NEfI
  27. artifact: hercules.win64.zip
  28. on:
  29. branch: master
  30. appveyor_repo_tag: true