Only upload when not a PR
This commit is contained in:
parent
05dd2ccac3
commit
c0c50e5068
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ 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:
|
||||
- if [ $TRAVIS_BRANCH = 'master' ]; then ./src/soh-upload/upload.sh; fi
|
||||
- if [ $TRAVIS_BRANCH = 'master' -a $TRAVIS_PULL_REQUEST = 'false' ]; then ./src/soh-upload/upload.sh; fi
|
||||
|
||||
# Caching so the next build will be fast too.
|
||||
cache:
|
||||
|
|
Loading…
Reference in a new issue