From 282d4b3f35a488474afb0c3a4107984475b446d8 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Fri, 20 Sep 2019 14:47:53 -0700 Subject: [PATCH] Change how webhooks are called --- .travis.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index d3a674fff..02442dd15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -150,17 +150,9 @@ after_script: - echo $TRAVIS_COMMIT_RANGE - echo $TRAVIS_COMMIT_LOG -after_success: - - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh - - chmod +x send.sh - - if [[ -z $IS_NOTIFICATION ]]; then ./send.sh success $WEBHOOK_URL; fi - -after_failure: - - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh - - chmod +x send.sh - - if [[ ! -z $IS_NOTIFICATION ]]; then ./send.sh failure $WEBHOOK_URL; fi - notifications: + webhooks: + urls: $WEBHOOK_URL irc: on_success: change on_failure: change