diff --git a/.drone.yml b/.drone.yml index 73934a2..3638116 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ]