You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
538 B

kind: pipeline
type: docker
name: default
trigger:
event:
- push
steps:
- name: build
image: swift:latest
commands:
- cd model/Sources/model
- swift build
- name: tests_Model
image: swift:latest
commands:
- cd model/Sources/model
- swift test
depends_on: [build]
- name: code-analysis
image: aosapps/drone-sonar-plugin
settings:
sonar_host: https://codefirst.iut.uca.fr/sonar
sonar_token:
from_secret: SECRET_SONAR_TOKEN
depend_on: [build]