mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Avoid unnecessary travis runs
This commit is contained in:
@@ -8,6 +8,11 @@ cache:
|
||||
directories:
|
||||
- $HOME/.m2
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /support\/.*/
|
||||
|
||||
install: travis_retry mvn install -DskipTests=true -B -V
|
||||
|
||||
matrix:
|
||||
@@ -15,7 +20,8 @@ matrix:
|
||||
- name: "Build and test"
|
||||
script: travis_retry mvn test
|
||||
- name: "WhiteSource scan"
|
||||
if: fork = false AND branch = master
|
||||
# only on master and if it is not a PR
|
||||
if: fork = false AND branch = master AND type != pull_request
|
||||
script:
|
||||
# Download the latest version of WhiteSource FS Agent
|
||||
- curl -LJO https://github.com/whitesource/fs-agent-distribution/raw/master/standAlone/whitesource-fs-agent.jar
|
||||
|
Reference in New Issue
Block a user