set NODE_VERSION is after_script.sh

This commit is contained in:
Mike Morris
2015-09-02 12:33:45 -04:00
parent dec3f9b4f8
commit f2eecb4d5e

View File

@@ -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