diff --git a/.travis.yml b/.travis.yml index 9309718..9ccd034 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,11 @@ language: python +dist: xenial + +addons: + sonarcloud: + organization: "ezhov-evgeny" + token: + secure: f0f714f3bea6bd103e3eb82724ef3bb0d3b54d1d services: - docker @@ -15,4 +22,5 @@ before_install: install: - python setup.py develop script: - - python setup.py test \ No newline at end of file + - python setup.py test + - sonar-scanner -X diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..9b05135 --- /dev/null +++ b/sonar-project.properties @@ -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 \ No newline at end of file