blob: 6576baf8e4a9ca1d4cc7d4d7eae2dbb2365036be [file] [log] [blame]
Martin Hořeňovský29fa1ed2017-02-14 09:37:37 +01001# version string format -- This will be overwritten later anyway
2version: "{build}"
3
4# Disable the dead branch for v2 development
5branches:
6 except:
7 - develop-v2
8
9os:
10 - Visual Studio 2013
11 - Visual Studio 2015
12
13init:
14 - git config --global core.autocrlf input
15 # Set build version to git commit-hash
16 - ps: Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_BRANCH) - $($env:APPVEYOR_REPO_COMMIT)"
17
18# fetch repository as zip archive
19shallow_clone: true
20
21# Win32 and x64 are CMake-compatible solution platform names.
22# This allows us to pass %PLATFORM% to CMake -A.
23platform:
24 - Win32
25 - x64
26
27# build Configurations, i.e. Debug, Release, etc.
28configuration:
29 - Debug
30 - Release
31
32#Cmake will autodetect the compiler, but we set the arch
33before_build:
34 - echo Running cmake...
35 - cmake -H. -BBuild -A%PLATFORM%
36
37# build with MSBuild
38build:
39 project: Build\CatchSelfTest.sln # path to Visual Studio solution or project
40 parallel: true # enable MSBuild parallel builds
41 verbosity: normal # MSBuild verbosity level {quiet|minimal|normal|detailed}
42
43test_script:
44 - cd Build
45 - ctest -V -j 2 -C %CONFIGURATION%