diff --git a/.travis.yml b/.travis.yml index 2c705fc7af..84acc903ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,8 @@ matrix: - name: "Build and test" 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 + # only on support branches or master and if it is not a PR + 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