From f1eb5acfc52203504c2967396192a02f45c99249 Mon Sep 17 00:00:00 2001 From: Andrea Briganti Date: Wed, 12 Sep 2018 15:52:43 +0200 Subject: [PATCH] sonarcloud support --- .travis.yml | 10 ++++++++-- sonar-project.properties | 5 +++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 sonar-project.properties diff --git a/.travis.yml b/.travis.yml index b82744f..2b5e599 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,23 @@ language: python +dist: trusty python: - '3.6' install: - python setup.py -q install +addons: + sonarcloud: + organization: "kbytesys-github" + token: + secure: $SONAR_TOKEN script: - - + - sonar-scanner deploy: provider: pypi skip_existing: true user: kbyte distributions: sdist bdist_wheel password: - secure: HF6O+bOS29MsOAgF04kPa1HrJb2DY9fzsLjxfCiI6Kik+dCsuMPiEvr1IeniJEIN5psyxIlnARppcawP+qor0pVy37QhSasXCQU7M8KtRH8gQgiV4LfL1e8AYiQalXj3cfCZnjGCpbwjqhZbZHZ2VWjGu73jfsyOyb4iE4xtCPjPVqdWxvI01KEdde/pZoX5ELH6gBhXFdxfY+FWXuO3H0fNKf+GFr7X3G6fwreVLnKbmNmgEZ2R+i843OHzByOTX2uV7E/eQziXbclBzH1blHFj74/xyrUjv1BX3qxfwplnA1DvvoMCy39eEkU4FeF+Xa6F/RMNj+t3oVHvBzxryZxe5Ll1zwpE1j0Z6q6qCSwFeIqtCT9/rjnO5y+EBlsyVSu7bqQ7plh1iTQLv6kgBCsgE0pgQo9r91EjrUFhxejnZOgnJdNWy2Ub1hbC2Ic0kAfyULp11VimeT2udWeRNBZ8qNjo6lGjJKdc4Vh7yirA2ogAYvalWgr2OZe7/U5vwvNByWyoqyhdCdRBeC8ZDCGA59inj8DfdIFQuJVaz9c6Wng68xJLbp2S7vIqvxOs28BjUyPItSAWdO6bxxk1ADXkHDBcqawOVKUS5VJ+g+n6DFpoPQiX8HjnRNVYJ1St+P3k45bxOQB1Nc7NdwP0FDtw7PxvgS0/kNpu5BuPPdE= + secure: $PYPISECRET on: tags: true python: '3.6' diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..b3158ce --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,5 @@ +sonar.projectKey=kbytesys_django_comuni_italiani +sonar.organization=kbytesys-github +sonar.projectName=Django Comuni Italiani +sonar.projectVersion=1.4.0 +sonar.sources=comuni_italiani/