File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ addons:
41
41
- lftp
42
42
43
43
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
44
47
- >
45
48
if [ "$TRAVIS_BRANCH" == "master" ]; then
46
49
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
@@ -49,3 +52,8 @@ after_success:
49
52
cp bin/nds-bootstrap.nds $REV_NAME
50
53
lftp ftp://$FTP_LOGIN:$FTP_PASSWORD@$FTP_ADDR -e "set net:timeout 5; set net:max-retries 2; put ${REV_NAME}; bye"
51
54
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
You can’t perform that action at this time.
0 commit comments