.travis.yml 796 B

12345678910111213141516171819202122232425
  1. os: windows
  2. language: C++
  3. branches:
  4. only:
  5. - master
  6. - 0.1.0
  7. - 0.2
  8. - 0.3
  9. - ci_check
  10. before_install:
  11. - wget -q https://download.qt.io/official_releases/qt/5.13/5.13.2/qt-opensource-windows-x86-5.13.2.exe
  12. install:
  13. - choco install golang
  14. - choco install yasm
  15. - ./qt-opensource-windows-x86-5.13.2.exe --script ./.ci/qt_installer_windows.qs
  16. script:
  17. - mkdir build
  18. - cd build
  19. - setx GOROOT "c:\Go"
  20. - setx path "%path%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  21. - set GOROOT="c:\Go"
  22. - set PATH="%PATH%;C:\Qt\5.13.2\msvc2017\bin;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools"
  23. - cmake -DCMAKE_PREFIX_PATH="C:\Qt\5.13.2\msvc2017;C:\Go\bin;C:\ProgramData\chocolatey\lib\yasm\tools" ..
  24. - cmake --build .
  25. - ctest -C DEBUG -E qtgrpc_*