summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_script.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/travis_script.sh b/scripts/travis_script.sh
index 6aaabfed68..f8325e41cc 100755
--- a/scripts/travis_script.sh
+++ b/scripts/travis_script.sh
@@ -10,7 +10,8 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
make linux -j4 BUILDTYPE=${BUILDTYPE}
make test -j4 BUILDTYPE=${BUILDTYPE}
./scripts/run_tests.sh
- (cd ./node_modules/mapbox-gl-test-suite/ && (./bin/compare_images.js || true; ./bin/deploy_results.sh))
+ (cd ./node_modules/mapbox-gl-test-suite/ && (./bin/compare_images.js || true; [[ $TRAVIS_PULL_REQUEST = "false" ]] && ./bin/deploy_results.sh))
+
elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
#
# build OS X