Problem: appveyor analysis runs on all branches

Solution: restrict to specific branches
This commit is contained in:
Simon Giesecke 2018-05-24 09:44:52 +02:00
parent 51d4b00196
commit 100745d312

View File

@ -11,15 +11,6 @@ environment:
MSVCVERSION: "v120"
MSVCYEAR: "vs2013"
matrix:
- platform: Win32
configuration: Release
WITH_LIBSODIUM: ON
ENABLE_CURVE: ON
ENABLE_ANALYSIS: ON
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GENERATOR: "Visual Studio 15 2017"
MSVCVERSION: "v141"
MSVCYEAR: "vs2017"
- platform: Win32
configuration: Release
WITH_LIBSODIUM: ON
@ -148,3 +139,20 @@ test_script:
- cmd: cd "%LIBZMQ_BUILDDIR%"
- cmd: ctest -C "%Configuration%" -V -j5
for:
-
branches:
only:
- master
- /.*analyze$/
environment:
matrix:
- platform: Win32
configuration: Release
WITH_LIBSODIUM: ON
ENABLE_CURVE: ON
ENABLE_ANALYSIS: ON
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GENERATOR: "Visual Studio 15 2017"
MSVCVERSION: "v141"
MSVCYEAR: "vs2017"