summaryrefslogtreecommitdiff
path: root/scripts/node
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/node')
-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}"