Skip to content

Commit

Permalink
sonarcloud support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Briganti committed Sep 12, 2018
1 parent d510457 commit f1eb5ac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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'
5 changes: 5 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit f1eb5ac

Please sign in to comment.