Skip to content

Commit 4777e38

Browse files
Attempt to add in Discord Webhook support
Thanks to our good buddies at https://github.com/DiscordHooks/travis-ci-discord-webhook
1 parent edc51e1 commit 4777e38

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ addons:
4141
- lftp
4242

4343
after_success:
44+
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
45+
- chmod +x send.sh
46+
- ./send.sh success $WEBHOOK_URL
4447
- >
4548
if [ "$TRAVIS_BRANCH" == "master" ]; then
4649
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
@@ -49,3 +52,8 @@ after_success:
4952
cp bin/nds-bootstrap.nds $REV_NAME
5053
lftp ftp://$FTP_LOGIN:$FTP_PASSWORD@$FTP_ADDR -e "set net:timeout 5; set net:max-retries 2; put ${REV_NAME}; bye"
5154
fi
55+
56+
after_failure:
57+
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
58+
- chmod +x send.sh
59+
- ./send.sh failure $WEBHOOK_URL

0 commit comments

Comments
 (0)