From c0c50e5068c63f077234aa4e99f186751af49b3c Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 25 Oct 2015 06:18:22 +0000 Subject: [PATCH] Only upload when not a PR --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2179f04..b9f450e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: