0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

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" MSVCVERSION: "v120"
MSVCYEAR: "vs2013" MSVCYEAR: "vs2013"
matrix: 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 - platform: Win32
configuration: Release configuration: Release
WITH_LIBSODIUM: ON WITH_LIBSODIUM: ON
@ -148,3 +139,20 @@ test_script:
- cmd: cd "%LIBZMQ_BUILDDIR%" - cmd: cd "%LIBZMQ_BUILDDIR%"
- cmd: ctest -C "%Configuration%" -V -j5 - 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"