From 35aee0b8e49f3e85442847176076cb248d0bedf8 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Thu, 14 Jul 2016 17:01:26 +0200 Subject: [PATCH] Use nvm on Linux --- script/cibuild-atom-linux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/cibuild-atom-linux b/script/cibuild-atom-linux index 2c3395608..b04d73f62 100755 --- a/script/cibuild-atom-linux +++ b/script/cibuild-atom-linux @@ -7,10 +7,10 @@ export BUILD_ATOM_RELEASES_S3_KEY=$BUILD_ATOM_LINUX_RELEASES_S3_KEY export BUILD_ATOM_RELEASES_S3_SECRET=$BUILD_ATOM_LINUX_RELEASES_S3_SECRET export BUILD_ATOM_RELEASES_S3_BUCKET=$BUILD_ATOM_LINUX_RELEASES_S3_BUCKET -if [ -d /usr/local/share/nodenv ]; then - export NODENV_ROOT=/usr/local/share/nodenv - export PATH=/usr/local/share/nodenv/bin:/usr/local/share/nodenv/shims:$PATH - export NODENV_VERSION="v0.10.21" -fi +git clone https://github.com/creationix/nvm.git /tmp/.nvm +source /tmp/.nvm/nvm.sh +nvm install 4.4.7 +nvm use 4.4.7 +npm install -g npm script/cibuild