appveyor.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. # Our build scripts run tests automatically; we don't want AppVeyor
  15. # to try to detect them itself.
  16. test: off
  17. install:
  18. - curl -L -o release-1.7.0.zip https://github.com/google/googlemock/archive/release-1.7.0.zip
  19. - 7z x release-1.7.0.zip
  20. - del /Q release-1.7.0.zip
  21. - rename googlemock-release-1.7.0 gmock
  22. - curl -L -o release-1.7.0.zip "https://github.com/google/googletest/archive/release-1.7.0.zip"
  23. - 7z x release-1.7.0.zip
  24. - del /Q release-1.7.0.zip
  25. - rename googletest-release-1.7.0 gtest
  26. - move gtest gmock
  27. - curl -L -o dotnetsdk.exe "https://go.microsoft.com/fwlink/?LinkID=809122"
  28. - dotnetsdk.exe /install /quiet /norestart
  29. before_build:
  30. - if %platform%==Win32 set generator=Visual Studio 12
  31. - if %platform%==Win64 set generator=Visual Studio 12 Win64
  32. - if %platform%==Win32 set vcplatform=Win32
  33. - if %platform%==Win64 set vcplatform=x64
  34. build_script:
  35. - CALL appveyor.bat
  36. skip_commits:
  37. message: /.*\[skip appveyor\].*/