Added SonarQube analysis
This commit is contained in:
parent
fe3296f203
commit
c3a15dd145
2 changed files with 18 additions and 1 deletions
|
@ -1,4 +1,11 @@
|
||||||
language: python
|
language: python
|
||||||
|
dist: xenial
|
||||||
|
|
||||||
|
addons:
|
||||||
|
sonarcloud:
|
||||||
|
organization: "ezhov-evgeny"
|
||||||
|
token:
|
||||||
|
secure: f0f714f3bea6bd103e3eb82724ef3bb0d3b54d1d
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
@ -16,3 +23,4 @@ install:
|
||||||
- python setup.py develop
|
- python setup.py develop
|
||||||
script:
|
script:
|
||||||
- python setup.py test
|
- python setup.py test
|
||||||
|
- sonar-scanner -X
|
||||||
|
|
9
sonar-project.properties
Normal file
9
sonar-project.properties
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
sonar.projectKey=ezhov-evgeny_webdav-client-python-3
|
||||||
|
sonar.organization=ezhov-evgeny
|
||||||
|
# This is the name and version displayed in the SonarCloud UI.
|
||||||
|
sonar.projectName=webdav-client-python-3
|
||||||
|
sonar.projectVersion=0.13
|
||||||
|
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
|
||||||
|
sonar.sources=.
|
||||||
|
# Encoding of the source code. Default is default system encoding
|
||||||
|
sonar.sourceEncoding=UTF-8
|
Loading…
Add table
Reference in a new issue