mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-22 12:48:25 +00:00
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…
x
Reference in New Issue
Block a user