Use IsEmpty instead of Count==0
[TortoiseGit.git] / appveyor.yml
blob0652d174054ee07d457bfdd3dd81ffc65b179852
1 version: '{branch}.{build}'\r
2 skip_tags: true\r
3 init:\r
4 - git version\r
5 - git config --global user.email "dummy@example.com"\r
6 - git config --global user.name "Dummy Name"\r
7 build_script:\r
8 - git submodule update --init -- ext/googletest ext/libgit2 ext/tgit ext/zlib\r
9 - cd ext\libgit2\r
10 - for %%G in (..\libgit2-*.patch) do ( type %%G | git am )\r
11 - cd ..\..\r
12 - msbuild "src\TortoiseGit.sln" /t:"test\UnitTests" /m /verbosity:minimal /p:Configuration=Debug /p:PlatformToolset=v120 /p:Platform=x64 /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
13 - msbuild "src\TortoiseGit.sln" /t:"test\UnitTests" /m /verbosity:minimal /p:Configuration=Debug /p:PlatformToolset=v120 /p:Platform=Win32 /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
14 test_script:\r
15 - bin\Debug\bin\tests.exe\r
16 - bin\Debug64\bin\tests.exe\r
17 - reg add HKCU\Software\TortoiseGit /v CygwinHack /t REG_DWORD /f /d 1\r
18 - reg add HKCU\Software\TortoiseGit /v MSysGit /t REG_SZ /f /d "c:\cygwin\bin"\r
19 - set HOME=%USERPROFILE%\r
20 - c:\cygwin\bin\git version\r
21 - bin\Debug\bin\tests.exe\r
22 - bin\Debug64\bin\tests.exe\r
23 - reg delete HKCU\Software\TortoiseGit /v CygwinHack /f\r
24 - reg delete HKCU\Software\TortoiseGit /v MSysGit /f\r
25 - msbuild "src\TortoiseGit.sln" /t:"TortoiseGitSetup\CustomActions" /t:"TortoiseGitSetup\RestartExplorer" /t:"ext\Crash-Server\CrashServerSDK\CrashHandler" /t:"ext\Crash-Server\CrashServerSDK\SendRpt" /m /verbosity:minimal /p:Configuration=Release /p:Platform=x64 /maxcpucount /p:PlatformToolset=v120 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
26 - msbuild "src\TortoiseGit.sln" /t:"TortoiseGitSetup\CustomActions" /t:"TortoiseGitSetup\RestartExplorer" /t:"ext\Crash-Server\CrashServerSDK\CrashHandler" /t:"ext\Crash-Server\CrashServerSDK\SendRpt" /m /verbosity:minimal /p:Configuration=Release /p:Platform=x64 /maxcpucount /p:PlatformToolset=v140 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
27 - git submodule update --init -- ext/apr ext/apr-util ext/editorconfig ext/pcre ext/simpleini\r
28 - msbuild "src\TortoiseGit.sln" /t:"TGitCache" /t:"TortoiseGitBlame" /t:"TortoiseGitIDiff" /t:"TortoiseGitMerge" /t:"TortoiseGitPlink" /t:"TortoiseGitProc" /t:"TortoiseGitStub" /t:"TortoiseGitUDiff" /t:"TortoiseShell" /t:"SshAskPass" /t:"tgittouch" /m /verbosity:minimal /p:Configuration=Debug /p:Platform=x64 /maxcpucount /p:PlatformToolset=v120 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
29 - msbuild "src\TortoiseGit.sln" /t:"test\UnitTests" /t:"TGitCache" /t:"TortoiseGitBlame" /t:"TortoiseGitIDiff" /t:"TortoiseGitMerge" /t:"TortoiseGitPlink" /t:"TortoiseGitProc" /t:"TortoiseGitStub" /t:"TortoiseGitUDiff" /t:"TortoiseShell" /t:"SshAskPass" /t:"tgittouch" /m /verbosity:minimal /p:Configuration=Debug /p:Platform=x64 /maxcpucount /p:PlatformToolset=v140 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"\r
30 - bin\Debug64\bin\tests.exe\r