From 9b3fb4f4fbab99f2c3feb64d82118554c3e2478f Mon Sep 17 00:00:00 2001 From: Javier Brea Date: Tue, 5 Mar 2019 18:08:34 +0100 Subject: [PATCH] Do not execute Sonar anlysis on PR branches --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b19892f..221c1ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,4 +19,4 @@ addons: script: - npm test - npm run coveralls - - sonar-scanner + - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sonar-scanner; fi'