summaryrefslogtreecommitdiff
path: root/.travis/webhook.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/webhook.sh')
-rwxr-xr-x.travis/webhook.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/.travis/webhook.sh b/.travis/webhook.sh
deleted file mode 100755
index cd41fc91..00000000
--- a/.travis/webhook.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-set -e
-
-root="$(readlink -e "$(dirname "$0")/..")"
-
-# Report unnamed symbols
-content="$("$root/tools/unnamed.py" "$root/pokegold.sym" | head -n 20)"
-
-curl -H 'Content-Type: application/json' -X POST "$POKEGOLD_DISCORD_WEBHOOK_URL" -d@- << EOF
-{
- "username": "$POKEGOLD_DISCORD_WEBHOOK_USERNAME",
- "avatar_url": "$POKEGOLD_DISCORD_WEBHOOK_AVATAR_URL",
- "content": "\`\`\`$(echo "$content" | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')\`\`\`"
-}
-EOF