Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is passing Details

master
Arthur VALIN 2 years ago
parent 0d6a700c8b
commit fd1eb38943

@ -3,6 +3,14 @@ type: docker
name: default name: default
steps: steps:
- name: test
image: node:latest
commands:
- cd src
- npm i
- npm test
- name: sonar-analyses - name: sonar-analyses
image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest
commands: commands:
@ -14,4 +22,5 @@ steps:
settings: settings:
sonar_host: https://codefirst.iut.uca.fr/sonar/ sonar_host: https://codefirst.iut.uca.fr/sonar/
sonar_token: sonar_token:
from_secret: SONAR_TOKEN from_secret: SONAR_TOKEN
depends_on: [ test ]
Loading…
Cancel
Save