From ff801dc2a8297f05cf3b33a08049606f959857c0 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Thu, 5 Nov 2015 13:53:16 -0500 Subject: [node] only upload render test results on linux They don't run on OS X because Travis OS X boxes don't have GPUs. --- scripts/node/after_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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}" -- cgit v1.2.1