Running sonar from Travis CI
This commit is contained in:
parent
6408e45093
commit
8322713ea6
|
@ -1,3 +1,8 @@
|
|||
addons:
|
||||
chrome: stable
|
||||
sonarcloud:
|
||||
organization: "sartography"
|
||||
|
||||
language: python
|
||||
|
||||
services:
|
||||
|
@ -19,6 +24,7 @@ install:
|
|||
# command to run tests
|
||||
script:
|
||||
- pytest
|
||||
- sonar-scanner
|
||||
|
||||
# Would be better to directly test the docker image, may require setting
|
||||
# up a docker-compose with postgres image and this docker image and connecting
|
||||
|
@ -30,4 +36,4 @@ deploy:
|
|||
provider: script
|
||||
script: bash docker_push.sh
|
||||
on:
|
||||
branch: master
|
||||
branch: master
|
||||
|
|
Loading…
Reference in New Issue