From f2eecb4d5e3f7e72ca1643569b2bc731855810c3 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 2 Sep 2015 12:33:45 -0400 Subject: set NODE_VERSION is after_script.sh --- scripts/node/after_script.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/node/after_script.sh b/scripts/node/after_script.sh index c757a1b8ca..4a2717a3a2 100755 --- a/scripts/node/after_script.sh +++ b/scripts/node/after_script.sh @@ -13,6 +13,9 @@ fi COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n') if test "${COMMIT_MESSAGE#*'[publish binary]'}" != "$COMMIT_MESSAGE"; then + source ~/.nvm/nvm.sh + nvm use $NODE_VERSION + npm install aws-sdk ./node_modules/.bin/node-pre-gyp package -- cgit v1.2.1