2016-02-02 12:50:35 +01:00
|
|
|
version: 1.73.{build}
|
2015-01-27 04:49:31 +01:00
|
|
|
|
2016-07-26 14:12:18 +02:00
|
|
|
clone_depth: 10
|
2015-01-27 04:49:31 +01:00
|
|
|
|
2016-07-26 14:12:18 +02:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- VisualStudioVersion: 10.0
|
|
|
|
platform: "Win32"
|
|
|
|
configuration: "Release"
|
|
|
|
vcvarsall_platform: "x86"
|
|
|
|
PlatformToolset: "v100"
|
|
|
|
- VisualStudioVersion: 10.0
|
|
|
|
platform: "x64"
|
|
|
|
configuration: "Release"
|
|
|
|
vcvarsall_platform: "x64"
|
|
|
|
PlatformToolset: "v100"
|
|
|
|
- VisualStudioVersion: 14.0
|
|
|
|
platform: "Win32"
|
|
|
|
configuration: "Debug"
|
|
|
|
vcvarsall_platform: "x86"
|
|
|
|
PlatformToolset: "v140"
|
|
|
|
- VisualStudioVersion: 14.0
|
|
|
|
platform: "x64"
|
|
|
|
configuration: "Debug"
|
|
|
|
vcvarsall_platform: "x64"
|
|
|
|
PlatformToolset: "v140"
|
2015-01-27 04:49:31 +01:00
|
|
|
|
|
|
|
build_script:
|
2016-07-26 14:12:18 +02:00
|
|
|
- ECHO Building %configuration% %platform% with MSVC %VisualStudioVersion% using %PlatformToolset% PlatformToolset
|
|
|
|
- 'IF "%VisualStudioVersion%" == "10.0" IF "%platform%" == "x64" CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%vcvarsall_platform% /%configuration%'
|
|
|
|
- 'CALL "C:\Program Files (x86)\Microsoft Visual Studio %VisualStudioVersion%\VC\vcvarsall.bat" %vcvarsall_platform%'
|
|
|
|
- msbuild "cppcheck.sln" /consoleloggerparameters:Verbosity=minimal /target:Build /property:Configuration="%configuration%";Platform=%platform% /p:PlatformToolset=%PlatformToolset% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2015-01-27 04:49:31 +01:00
|
|
|
|
|
|
|
test_script:
|
2016-07-26 14:12:18 +02:00
|
|
|
- IF "%CONFIGURATION%" == "Debug" bin\debug\testrunner.exe
|
|
|
|
- IF "%CONFIGURATION%" == "Release" bin\testrunner.exe
|