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