Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 30563d9

Browse files
committed
Adding sonar branch and PR analysis
1 parent c5f640b commit 30563d9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ before_script:
9494
script:
9595
- if [[ ! $TRAVIS_TAG ]]; then bash test/install_and_run_tests.sh; fi
9696
- if [[ ! $TRAVIS_TAG ]]; then bash .travis/validate_report_files.sh; fi
97-
- if [[ ! $TRAVIS_TAG ]] && [ "${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sonar-scanner; fi
97+
- if [[ ! $TRAVIS_TAG ]] && [ "${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" ]; then sonar-scanner; fi
9898
- if [[ ! $TRAVIS_TAG ]]; then bash .travis/coveralls_uploader.sh; fi
9999

100100
notifications:

sonar-project.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ sonar.language=plsql
2121

2222
# Encoding of the source code. Default is default system encoding
2323
#sonar.sourceEncoding=UTF-8
24+
sonar.branch.name=test
25+
sonar.branch.target=source_Test

0 commit comments

Comments
 (0)