sqlite-clone/.drone.yml

23 lines
542 B
YAML
Raw Normal View History

2022-03-27 17:35:33 +02:00
kind: pipeline
type: docker
name: default
steps:
- name: build && test
2022-03-27 17:37:40 +02:00
image: rust:1
2022-03-27 17:35:33 +02:00
commands:
- cargo build --verbose --all
2022-03-27 18:00:52 +02:00
- cargo test --verbose --all
-
- name: send telegram notification
image: appleboy/drone-telegram
settings:
token:
from_secret: telegram_token
to: kjuulh_ci_bot
message: >
{{#success build.status}}
build {{build.number}} succeeded. Good job.
{{else}}
build {{build.number}} failed. Fix me please.
{{/success}}