1version: 0.5-build-{build} 2pull_requests: 3 do_not_increment_build_number: true 4image: 5- Visual Studio 2015 6- Visual Studio 2013 7- Visual Studio 2017 8install: 9- cmd: >- 10 set tests=1 11 12 if /i "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" (call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64) & (set tests=0) 13 14 if /i "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64) & (set QTDIR=C:\Qt\5.9\msvc2015_64) 15 16 if /i "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64) & (set QTDIR=C:\Qt\5.9\msvc2017_64) 17 18 set path=%PATH%;%QTDIR%\bin 19build_script: 20- cmd: >- 21 nmake -f Makefile.nmake -nologo CFLAGS="-W3 -Os -MDd" 22 23 cd tests 24 25 if /i "%tests%"=="1" qmake CONFIG-=release CONFIG+=debug 26 27 if /i "%tests%"=="1" nmake -nologo -s 28test_script: 29- cmd: >- 30 if /i "%tests%"=="1" nmake -s -nologo check 31 32 if /i "%tests%"=="0" echo Tests skipped. 33artifacts: 34- path: lib\tinycbor.lib 35deploy: off 36