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
|
language: python
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
@ -19,6 +24,7 @@ install:
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
- pytest
|
- pytest
|
||||||
|
- sonar-scanner
|
||||||
|
|
||||||
# Would be better to directly test the docker image, may require setting
|
# 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
|
# up a docker-compose with postgres image and this docker image and connecting
|
||||||
|
|
Loading…
Reference in New Issue