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

Skip to content

Commit ae49771

Browse files
committed
Adding sonar integration with Travis.
1 parent 5f5769d commit ae49771

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ env:
2828
addons:
2929
apt:
3030
packages:
31-
#packages required by oracle
31+
#packages required for oracle
3232
- bc
3333
- rpm
3434
- unzip
35-
35+
sonarqube:
36+
token:
37+
secure: AmQdR1Fm0tvA9Ees1wz1RqnUl49lZrGdhWCkx7SnIzz+/1Lm2L9aH/e4bL60wIqkJ+AK8tJ1YX4L2B+i7/t5dBSH9Nj8JgbJFwHMqHdMCmaqKpvT5eJRzhbgr0kccm8ECHWTWBL+mIyXXYUm4f/tuRnnngfZS/bxtUpFUDvotcEybuuGUvKSbmc6ew5tfBuX79G/lXbFBceO6EQStoi8SeIHDkgeX/BoQQin0BFVMcsuWKPuQ5P5B19KfxubEk6tiHLZffoaF1q+RbsFcwpr4nyXHiusTRdtLmHb5DvlSQsy15qaakJP6AA073sGjnKxcGiGvP48HbC07tQmtBiZY2Ybkqj9i4aRq0hzX/VXRuZOV/rQARjItS4MKTmD9gET9XkYzc/P8VxSGRFT97guF3f6qtPzcGCu3TbFQpgeP+mgcePLvDl5j/AL+tZAAwSj3mPhEGncr5j+QkcLhl+mM5TymNeJn828qb8I7+mSdqbmPwytc//hwJLeqFJDX2GGnXZD4VkMZDvUO6gq2bQXy0hLgdI7uIQpIzIUlAGoYG6MK4SuHxnx+ZNwsW/nrMGVCJrK67Ii/R++Fg4et5QshTaTbkcQ3Deroady/pnGwlD5FR59LYpjqOVQ+4ey2bf92eGx0j0NWCz+CfirKSXd3o1hESSqamyi8KtOqkqiLEg=
3638

3739
cache:
3840
directories:
@@ -66,7 +68,7 @@ script:
6668
deploy:
6769
provider: releases
6870
api_key: $github_api_token
69-
file:
71+
file:
7072
- utPLSQL$TRAVIS_TAG.zip
7173
- utPLSQL$TRAVIS_TAG.tar.gz
7274
skip_cleanup: true
@@ -76,5 +78,3 @@ deploy:
7678

7779
notifications:
7880
slack: utplsql:oiMuXO95TvKeAUENuDt4cPrB
79-
80-

sonar-project.properties

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# must be unique in a given SonarQube instance
2+
sonar.projectKey=utPLSQL:utPLSQL
3+
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
4+
sonar.projectName=utPLSQL
5+
sonar.projectVersion=3.0.0.Alpha
6+
7+
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
8+
# Since SonarQube 4.2, this property is optional if sonar.modules is set.
9+
# If not set, SonarQube starts looking for source code from the directory containing
10+
# the sonar-project.properties file.
11+
sonar.sources=./source
12+
13+
# Encoding of the source code. Default is default system encoding
14+
#sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)