diff options
Diffstat (limited to 'scripts/node')
-rwxr-xr-x | scripts/node/after_script.sh | 2 |
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}" |