There is a step in my travis build where I trigger a command to run sonarqube analysis on the code change from the PR. The step is added as an
after_success: - if [ "$TRAVIS_PULL_REQUEST_BRANCH" != "" ]; then make sonar-check-pr; fi - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then make sonar-check-baseline; fi
Is it possible to pass the build regardless of the outcome of this step? Right now if the make command fails, it fails the travis build due to which the PR gets blocked and no one can merge it.