Only execute "after_success" stage for changes to master
With this change, only commits pushed to master will execute the after_success
stage, which will upload continuous builds to github
MODIFY
scripts/linux/after_success.sh
scripts/linux/after_success.sh
#!/bin/bash
+if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_EVENT_TYPE" = "push" ]; then
find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh Ripes*.AppImage*
+fi
\ No newline at end of file

MODIFY
scripts/mac/after_success.sh
scripts/mac/after_success.sh
#!/bin/bash
+if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_EVENT_TYPE" = "push" ]; then
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh app/Ripes*.zip
+fi
\ No newline at end of file

MODIFY
scripts/windows/after_success.sh
scripts/windows/after_success.sh
#!/bin/bash
+
+if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_EVENT_TYPE" = "push" ]; then
echo "Uploading to git"
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh Ripes*.exe
+fi
\ No newline at end of file

Only execute "after_success" stage for changes to master

With this change, only commits pushed to master will execute the after_success
stage, which will upload continuous builds to github