Skip to content

Commit

Permalink
Setup Node.js for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
kpuputti committed Apr 15, 2016
1 parent 709e0aa commit 3890eeb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
5.10
13 changes: 13 additions & 0 deletions travis/install.sh
Expand Up @@ -6,3 +6,16 @@ echo "Running install"
echo "SUITE: ${SUITE}"

bundle install --without development --path=~/.bundle

echo "Installing and selecting Node.js version with nvm"
# shellcheck source=/dev/null
. "$HOME/.nvm/nvm.sh"
nvm install
nvm use

echo "Node.js version:"
node --version
echo "NPM version:"
npm --version

npm install

0 comments on commit 3890eeb

Please sign in to comment.