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 |
14 | 15 |
15 - language: csharp | 16 - language: csharp |
16 | 17 |
| 18 # Our build scripts run tests automatically; we don't want AppVeyor |
| 19 # to try to detect them itself. |
| 20 test: off |
| 21 |
17 install: | 22 install: |
18 - ps: Start-FileDownload https://googlemock.googlecode.com/files/gmock-1.7.0.z
ip | 23 - curl -L -o release-1.7.0.zip https://github.com/google/googlemock/archive/re
lease-1.7.0.zip |
19 - 7z x gmock-1.7.0.zip | 24 - 7z x release-1.7.0.zip |
20 - rename gmock-1.7.0 gmock | 25 - del /Q release-1.7.0.zip |
| 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 |
21 | 34 |
22 before_build: | 35 before_build: |
23 - if %platform%==Win32 set generator=Visual Studio 12 | 36 - if %platform%==Win32 set generator=Visual Studio 12 |
24 - if %platform%==Win64 set generator=Visual Studio 12 Win64 | 37 - if %platform%==Win64 set generator=Visual Studio 12 Win64 |
25 - if %platform%==Win32 set vcplatform=Win32 | 38 - if %platform%==Win32 set vcplatform=Win32 |
26 - if %platform%==Win64 set vcplatform=x64 | 39 - if %platform%==Win64 set vcplatform=x64 |
27 | 40 |
28 build_script: | 41 build_script: |
29 - CALL appveyor.bat | 42 - CALL appveyor.bat |
30 | 43 |
31 skip_commits: | 44 skip_commits: |
32 message: /.*\[skip appveyor\].*/ | 45 message: /.*\[skip appveyor\].*/ |
OLD | NEW |