drone: Added email notification
the build was successful Details

This commit is contained in:
tastytea 2018-06-13 01:03:06 +02:00
parent de07809a9d
commit 20ba5212b4
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 11 additions and 4 deletions

View File

@ -3,10 +3,10 @@ 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
- apt-get install -y rpm file
- apt-get update -q
- apt-get install -qy build-essential cmake pkg-config
- apt-get install -qy libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev
- apt-get install -qy rpm file
- mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
- make VERBOSE=1
@ -29,3 +29,10 @@ pipeline:
- "mastodon-cpp-${DRONE_TAG}.ebuild"
- "libmastodon-cpp_${DRONE_TAG}-0_amd64.deb"
- "libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm"
notify:
image: drillster/drone-email
host: cryptoparty-celle.de
secrets: [ email_username, email_password ]
from: drone@tzend.de
when:
status: [ changed, failure ]