From 879612918f6964de5e5050673f9ae603bfa37cbd Mon Sep 17 00:00:00 2001 From: Aleksei Date: Sun, 28 Jun 2020 19:27:11 -0400 Subject: [PATCH] Webhook on finish --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 00b7753..8e716ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,11 @@ language: java jdk: - - openjdk11 \ No newline at end of file + - openjdk11 +after_success: + - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh + - chmod +x send.sh + - ./send.sh success $WEBHOOK_URL +after_failure: + - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh + - chmod +x send.sh + - ./send.sh failure $WEBHOOK_URL \ No newline at end of file