Added SonarQube analysis

This commit is contained in:
Evgeny Ezhov 2019-11-27 21:51:23 +03:00
parent fe3296f203
commit c3a15dd145
2 changed files with 18 additions and 1 deletions

View file

@ -1,4 +1,11 @@
language: python
dist: xenial
addons:
sonarcloud:
organization: "ezhov-evgeny"
token:
secure: f0f714f3bea6bd103e3eb82724ef3bb0d3b54d1d
services:
- docker
@ -16,3 +23,4 @@ install:
- python setup.py develop
script:
- python setup.py test
- sonar-scanner -X

9
sonar-project.properties Normal file
View 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