From 100745d3126fe677aef884145ddedb51161a5b29 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Thu, 24 May 2018 09:44:52 +0200 Subject: [PATCH] Problem: appveyor analysis runs on all branches Solution: restrict to specific branches --- appveyor.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index bf16a1e9..834227d0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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"