From b08fae64b85d0ae2691c7f2927321f3ccc7c2dcb Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Mon, 15 Oct 2018 00:43:05 -0400 Subject: [PATCH] updated travis ci config --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 24d2ef6e..d5dde227 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,11 @@ node_js: - "node" script: - npm run test +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