drone: Added email notification
the build was successful Details

This commit is contained in:
tastytea 2018-06-13 00:56:02 +02:00
parent c602278dc5
commit 46f7ddc575
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,3 @@
pipeline:
pipeline:
download:
image: plugins/download
@ -10,11 +7,18 @@ pipeline:
image: debian:buster-slim
pull: true
commands:
- apt-get update
- apt-get install -y build-essential cmake pkg-config
- apt-get install -y libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev libxdg-basedir-dev
- apt-get update -q
- apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev libxdg-basedir-dev
- dpkg -i mastodon-cpp.deb
- mkdir -p build && cd build
- cmake ..
- make VERBOSE=1
- make install DESTDIR=install
notify:
image: drillster/drone-email
host: cryptoparty-celle.de
secrets: [ email_username, email_password ]
from: drone@tzend.de
when:
status: [ changed, failure ]