Only upload on master branch

This commit is contained in:
Michael Snoyman 2015-10-20 06:15:11 +00:00
parent c7ef72a292
commit 2488e4ca4c

View file

@ -20,4 +20,9 @@ install:
# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
script:
- ./src/soh-upload/upload.sh
- if [ $TRAVIS_BRANCH = 'master' ]
then
./src/soh-upload/upload.sh
else
echo Skipping upload on non-master branch
fi