From 5020c8c0177f18506cfe8ef0e92fb29c53b219c1 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Sat, 16 Feb 2019 13:05:55 +0100 Subject: [PATCH 1/3] Update .travis.yml --- .travis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d17bd7cb8..1ce65d2aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,11 +39,21 @@ after_success: - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh - chmod +x send.sh - ./send.sh success $WEBHOOK_URL - + - if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then + wget https://raw.githubusercontent.com/Human-Connection/Discord-Bot/develop/tester.sh && + chmod +x tester.sh && + ./tester.sh alpha $WEBHOOK_URL; + fi + - if [ $TRAVIS_BRANCH == "develop" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then + wget https://raw.githubusercontent.com/Human-Connection/Discord-Bot/develop/tester.sh && + chmod +x tester.sh && + ./tester.sh staging $WEBHOOK_URL; + fi + after_failure: - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh - chmod +x send.sh - - ./send.sh failure $WEBHOOK_URL +- ./send.sh failure $WEBHOOK_URL deploy: - provider: script From ed4b216e935b943833a66a727bc98e9b42864fdc Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Sat, 16 Feb 2019 13:07:03 +0100 Subject: [PATCH 2/3] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1ce65d2aa..a02e0b6fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,7 +49,7 @@ after_success: chmod +x tester.sh && ./tester.sh staging $WEBHOOK_URL; fi - + after_failure: - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh - chmod +x send.sh From 960f683efa3e147cc82e9f303e976d6e9a755ab4 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Sat, 16 Feb 2019 13:14:10 +0100 Subject: [PATCH 3/3] Update .travis.yml --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a02e0b6fc..f5cb1b4ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,11 +40,6 @@ after_success: - chmod +x send.sh - ./send.sh success $WEBHOOK_URL - if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then - wget https://raw.githubusercontent.com/Human-Connection/Discord-Bot/develop/tester.sh && - chmod +x tester.sh && - ./tester.sh alpha $WEBHOOK_URL; - fi - - if [ $TRAVIS_BRANCH == "develop" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then wget https://raw.githubusercontent.com/Human-Connection/Discord-Bot/develop/tester.sh && chmod +x tester.sh && ./tester.sh staging $WEBHOOK_URL; @@ -53,7 +48,7 @@ after_success: after_failure: - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh - chmod +x send.sh -- ./send.sh failure $WEBHOOK_URL + - ./send.sh failure $WEBHOOK_URL deploy: - provider: script