diff --git a/scripts/node/after_script.sh b/scripts/node/after_script.sh index c757a1b8c..4a2717a3a 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