summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-11-05 13:53:16 -0500
committerMike Morris <michael.patrick.morris@gmail.com>2015-11-05 14:45:34 -0500
commitff801dc2a8297f05cf3b33a08049606f959857c0 (patch)
tree358299b73010a03e400f6b1c6c77ea4690116928 /scripts
parent3a91686a099533de85b47ca42b7f97035f8d4a82 (diff)
downloadqtlocation-mapboxgl-ff801dc2a8297f05cf3b33a08049606f959857c0.tar.gz
[node] only upload render test results on linuxnode-v2.0.0-pre.13
They don't run on OS X because Travis OS X boxes don't have GPUs.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/node/after_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/node/after_script.sh b/scripts/node/after_script.sh
index 849505e7aa..8673b079c8 100755
--- a/scripts/node/after_script.sh
+++ b/scripts/node/after_script.sh
@@ -37,7 +37,7 @@ if [[ ${TRAVIS_TAG} == node-v${PACKAGE_JSON_VERSION} ]] || test "${COMMIT_MESSAG
fi
fi
-if [ ! -z "${AWS_ACCESS_KEY_ID}" ] && [ ! -z "${AWS_SECRET_ACCESS_KEY}" ] ; then
+if [[ ${TRAVIS_OS_NAME} == "linux" ]] && [ ! -z "${AWS_ACCESS_KEY_ID}" ] && [ ! -z "${AWS_SECRET_ACCESS_KEY}" ] ; then
# Install and add awscli to PATH for uploading the results
pip install --user awscli
export PATH="`python -m site --user-base`/bin:${PATH}"