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

Skip to content

Commit 4abe6c2

Browse files
authored
Merge pull request #204 from jgebal/feature/add_sonar_to_the_project
Feature/add sonar to the project
2 parents 5f5769d + cd58c86 commit 4abe6c2

3 files changed

Lines changed: 22 additions & 8 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-

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
[![chat](http://img.shields.io/badge/version_status-alpha-blue.svg)](http://utplsql-slack-invite.herokuapp.com/)
33
[![build](https://img.shields.io/travis/utPLSQL/utPLSQL/master.svg?label=master%20branch)](https://travis-ci.org/utPLSQL/utPLSQL)
44
[![build](https://img.shields.io/travis/utPLSQL/utPLSQL/develop.svg?label=develop%20branch)](https://travis-ci.org/utPLSQL/utPLSQL)
5+
[![sonar](https://sonarqube.com/api/badges/measure?key=utPLSQL%3AutPLSQL&metric=complexity)](https://sonarqube.com/dashboard/index?id=utPLSQL%3AutPLSQL)
6+
[![sonar](https://sonarqube.com/api/badges/measure?key=utPLSQL%3AutPLSQL&metric=ncloc)](https://sonarqube.com/dashboard/index?id=utPLSQL%3AutPLSQL)
57

6-
[![license](http://img.shields.io/badge/license-apache%202.0-blue.svg)]
7-
(https://www.apache.org/licenses/LICENSE-2.0)
8+
[![license](http://img.shields.io/badge/license-apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
89
[![chat](http://img.shields.io/badge/chat-slack-blue.svg)](http://utplsql-slack-invite.herokuapp.com/)
910
[![twitter](https://img.shields.io/twitter/follow/utPLSQL.svg?style=social&label=Follow)](https://twitter.com/utPLSQL)
10-
1111
----------
1212
utPLSQL version 3 is a complete rewrite of utPLSQL v2 from scratch.
1313
Version 2 still supports older versions of Oracle that are no longer available.

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)