Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit abde29f

Browse files
authored
Update .travis.yml
1 parent da96078 commit abde29f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- cat ./coverage/lcov.info | codacy-coverage
2727

2828
after_success:
29+
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
30+
- chmod +x send.sh
31+
- ./send.sh success $WEBHOOK_URL
2932
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then
3033
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
3134
docker tag humanconnection/api-feathers humanconnection/api-feathers:alpha;
@@ -36,3 +39,7 @@ after_success:
3639
docker tag humanconnection/api-feathers humanconnection/api-feathers:edge;
3740
docker push humanconnection/api-feathers:edge;
3841
fi
42+
after_failure:
43+
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
44+
- chmod +x send.sh
45+
- ./send.sh failure $WEBHOOK_URL

0 commit comments

Comments
 (0)