| 1 |
version: "{build}-{branch}" |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
clone_depth: 20 |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
branches: |
| 10 |
except: |
| 11 |
- /dev-travis.+/ |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
init: |
| 16 |
- set PATH=C:\Python35;C:\Python35\Scripts;%PATH% |
| 17 |
|
| 18 |
|
| 19 |
install: |
| 20 |
- ps: if (($env:CONFIGURATION) -eq "Debug" -And ($env:coverage) -eq "1" ) { pip --disable-pip-version-check install codecov } |
| 21 |
|
| 22 |
- ps: if (($env:CONFIGURATION) -eq "Debug" -And ($env:coverage) -eq "1" ) { .\tools\misc\installOpenCppCoverage.ps1 } |
| 23 |
|
| 24 |
|
| 25 |
before_build: |
| 26 |
|
| 27 |
- set PATH=C:\Python35;C:\Python35\Scripts;%PATH% |
| 28 |
- set CXXFLAGS=%additional_flags% |
| 29 |
|
| 30 |
- cmd: if "%examples%"=="1" ( python .\tools\scripts\generateAmalgamatedFiles.py ) |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
- cmd: .\tools\misc\appveyorBuildConfigurationScript.bat |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
build: |
| 39 |
project: Build\Catch2.sln |
| 40 |
parallel: true |
| 41 |
verbosity: normal |
| 42 |
|
| 43 |
test_script: |
| 44 |
- set CTEST_OUTPUT_ON_FAILURE=1 |
| 45 |
- cmd: .\tools\misc\appveyorTestRunScript.bat |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
environment: |
| 53 |
matrix: |
| 54 |
- FLAVOR: VS 2019 x64 Debug Coverage Examples |
| 55 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 |
| 56 |
examples: 1 |
| 57 |
coverage: 1 |
| 58 |
platform: x64 |
| 59 |
configuration: Debug |
| 60 |
|
| 61 |
- FLAVOR: VS 2019 x64 Debug WMain |
| 62 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 |
| 63 |
wmain: 1 |
| 64 |
additional_flags: "/D_UNICODE /DUNICODE" |
| 65 |
platform: x64 |
| 66 |
configuration: Debug |
| 67 |
|
| 68 |
- FLAVOR: VS 2019 x64 Debug Latest Strict |
| 69 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 |
| 70 |
additional_flags: "/permissive- /std:c++latest" |
| 71 |
platform: x64 |
| 72 |
configuration: Debug |
| 73 |
|
| 74 |
- FLAVOR: VS 2017 x64 Debug |
| 75 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
| 76 |
platform: x64 |
| 77 |
configuration: Debug |
| 78 |
|
| 79 |
- FLAVOR: VS 2017 x64 Release Coverage |
| 80 |
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
| 81 |
coverage: 1 |
| 82 |
platform: x64 |
| 83 |
configuration: Debug |