From 696066cb08b152eec26edf66bc6afaf20c68b65a Mon Sep 17 00:00:00 2001 From: Alex Mukha Date: Fri, 12 Apr 2019 19:36:00 +0100 Subject: [PATCH] Limit WhiteSource scan to support branches or master --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2c705fc7af..d61567807a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ matrix: script: travis_retry mvn test - name: "WhiteSource scan" # only on master and if it is not a PR - if: fork = false AND branch = master AND type != pull_request + if: fork = false AND (branch = master OR branch =~ /support\/.*/) AND type != pull_request script: # Download the latest version of WhiteSource Unified Agent - curl -LJO https://github.com/whitesource/unified-agent-distribution/raw/master/standAlone/wss-unified-agent.jar