Add CI #1

Manually merged
norangebit merged 2 commits from feature_ci into develop 2019-11-08 18:49:36 +00:00
1 changed files with 24 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: gradle:5.6.3
commands:
- gradle build
- name: notify
image: appleboy/drone-telegram
settings:
token:
from_secret: telegram_token
to:
from_secret: telegram_user
format: markdown
message: |
Build {{build.number}} from commit [{{truncate commit.sha 10}}]({{commit.link}}) **failed**.
{{uppercasefirst commit.author}} please fix me!
when:
status:
- failure