appveyor.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Only test one combination: "Visual Studio 12 + Win64 + Debug + DLL". We can
  2. # test more combinations but AppVeyor just takes too long to finish (each
  3. # combination takes ~15mins).
  4. platform:
  5. - Win64
  6. configuration:
  7. - Debug
  8. environment:
  9. matrix:
  10. - language: cpp
  11. BUILD_DLL: ON
  12. UNICODE: ON
  13. - language: csharp
  14. image: Visual Studio 2017
  15. # Our build scripts run tests automatically; we don't want AppVeyor
  16. # to try to detect them itself.
  17. test: off
  18. install:
  19. - curl -L -o release-1.7.0.zip https://github.com/google/googlemock/archive/release-1.7.0.zip
  20. - 7z x release-1.7.0.zip
  21. - del /Q release-1.7.0.zip
  22. - rename googlemock-release-1.7.0 gmock
  23. - curl -L -o release-1.7.0.zip "https://github.com/google/googletest/archive/release-1.7.0.zip"
  24. - 7z x release-1.7.0.zip
  25. - del /Q release-1.7.0.zip
  26. - rename googletest-release-1.7.0 gtest
  27. - move gtest gmock
  28. before_build:
  29. - if %platform%==Win32 set generator=Visual Studio 12
  30. - if %platform%==Win64 set generator=Visual Studio 12 Win64
  31. - if %platform%==Win32 set vcplatform=Win32
  32. - if %platform%==Win64 set vcplatform=x64
  33. build_script:
  34. - CALL appveyor.bat
  35. skip_commits:
  36. message: /.*\[skip appveyor\].*/