This commit is contained in:
MassiveAtoms 2020-04-18 11:52:44 -03:00
parent fd28d00db0
commit cd6ea876e0

View File

@ -2,8 +2,10 @@ kind: pipeline
type: docker
name: default
steps:
- name: test
pipeline:
build:
image: archlinux
commands:
- pacman -Sy --noconfirm
@ -13,16 +15,14 @@ steps:
- cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
- cmake ..
- ninja
- ./testbin > message.txt
- name: send telegram notification
- ./testbin > template.txt
- ./testbin
notify:
image: appleboy/drone-telegram
template: file:///drone/src/git.tau.aperturect.com/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/template.txt
settings:
token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0
to: -1001226107365
+ message_file: message.txt
trigger:
branch: