Skip to content

Commit

Permalink
Don't run sonar scanner for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 7, 2019
1 parent e179131 commit 0383f45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ if [[ ! -z "$NPM" ]]; then
fi

if ([[ ! -z "$SONAR" ]]); then
sonar-scanner
if [[ $TRAVIS_PULL_REQUEST == "false" ]] then;
sonar-scanner
fi
fi

0 comments on commit 0383f45

Please sign in to comment.