.travis.yml 788 B

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