Added github.com/DiscordHooks/travis-ci-discord-webhook.
This commit is contained in:
parent
a838e0404b
commit
5cc036a78a
3 changed files with 17 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ install:
|
||||||
script:
|
script:
|
||||||
- sh ${TRAVIS_BUILD_DIR}/.travis/script.sh
|
- sh ${TRAVIS_BUILD_DIR}/.travis/script.sh
|
||||||
|
|
||||||
|
after_failure:
|
||||||
|
- sh ${TRAVIS_BUILD_DIR}/.travis/after_failure.sh
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- sh ${TRAVIS_BUILD_DIR}/.travis/after_success.sh
|
- sh ${TRAVIS_BUILD_DIR}/.travis/after_success.sh
|
||||||
|
|
||||||
|
|
|
||||||
8
.travis/after_failure.sh
Executable file
8
.travis/after_failure.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Travis Webhook
|
||||||
|
wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||||
|
chmod +x send.sh
|
||||||
|
./send.sh failure $WEBHOOK_URL
|
||||||
|
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Travis Webhook
|
||||||
|
wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||||
|
chmod +x send.sh
|
||||||
|
./send.sh success $WEBHOOK_URL
|
||||||
|
|
||||||
|
# Deploy
|
||||||
export VERSION=$(git describe --tags)
|
export VERSION=$(git describe --tags)
|
||||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||||
export DEPLOYFILE=Sfizz-$VERSION-x86_64.AppImage
|
export DEPLOYFILE=Sfizz-$VERSION-x86_64.AppImage
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue