| OLD | NEW |
| 1 # Only test one combination: "Visual Studio 12 + Win64 + Debug + DLL". We can | 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 | 2 # test more combinations but AppVeyor just takes too long to finish (each |
| 3 # combination takes ~15mins). | 3 # combination takes ~15mins). |
| 4 platform: | 4 platform: |
| 5 - Win64 | 5 - Win64 |
| 6 | 6 |
| 7 configuration: | 7 configuration: |
| 8 - Debug | 8 - Debug |
| 9 | 9 |
| 10 environment: | 10 environment: |
| 11 matrix: | 11 matrix: |
| 12 - language: cpp | 12 - language: cpp |
| 13 BUILD_DLL: ON | 13 BUILD_DLL: ON |
| 14 UNICODE: ON | |
| 15 | 14 |
| 16 - language: csharp | 15 - language: csharp |
| 17 | 16 |
| 18 # Our build scripts run tests automatically; we don't want AppVeyor | |
| 19 # to try to detect them itself. | |
| 20 test: off | |
| 21 | |
| 22 install: | 17 install: |
| 23 - curl -L -o release-1.7.0.zip https://github.com/google/googlemock/archive/re
lease-1.7.0.zip | 18 - ps: Start-FileDownload https://googlemock.googlecode.com/files/gmock-1.7.0.z
ip |
| 24 - 7z x release-1.7.0.zip | 19 - 7z x gmock-1.7.0.zip |
| 25 - del /Q release-1.7.0.zip | 20 - rename gmock-1.7.0 gmock |
| 26 - rename googlemock-release-1.7.0 gmock | |
| 27 - curl -L -o release-1.7.0.zip "https://github.com/google/googletest/archive/r
elease-1.7.0.zip" | |
| 28 - 7z x release-1.7.0.zip | |
| 29 - del /Q release-1.7.0.zip | |
| 30 - rename googletest-release-1.7.0 gtest | |
| 31 - move gtest gmock | |
| 32 - curl -L -o dotnetsdk.exe "https://go.microsoft.com/fwlink/?LinkID=809122" | |
| 33 - dotnetsdk.exe /install /quiet /norestart | |
| 34 | 21 |
| 35 before_build: | 22 before_build: |
| 36 - if %platform%==Win32 set generator=Visual Studio 12 | 23 - if %platform%==Win32 set generator=Visual Studio 12 |
| 37 - if %platform%==Win64 set generator=Visual Studio 12 Win64 | 24 - if %platform%==Win64 set generator=Visual Studio 12 Win64 |
| 38 - if %platform%==Win32 set vcplatform=Win32 | 25 - if %platform%==Win32 set vcplatform=Win32 |
| 39 - if %platform%==Win64 set vcplatform=x64 | 26 - if %platform%==Win64 set vcplatform=x64 |
| 40 | 27 |
| 41 build_script: | 28 build_script: |
| 42 - CALL appveyor.bat | 29 - CALL appveyor.bat |
| 43 | 30 |
| 44 skip_commits: | 31 skip_commits: |
| 45 message: /.*\[skip appveyor\].*/ | 32 message: /.*\[skip appveyor\].*/ |
| OLD | NEW |