diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..3b17354 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,15 @@ +version: 2.1 +orbs: + sonarcloud: sonarsource/sonarcloud@1.0.0 +jobs: + build: + docker: + - image: 'circleci/python:3.7.4' + steps: + - checkout + - sonarcloud/scan +workflows: + my-workflow: + jobs: + - build: + context: SonarCloud \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..20165e1 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,12 @@ +sonar.projectKey=nbushongjc_jcapi-ruby +sonar.organization=nbushongjc + +# This is the name and version displayed in the SonarCloud UI. +#sonar.projectName=jcapi-ruby +#sonar.projectVersion=1.0 + +# 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