#!/bin/sh  
# Note to self: Travis project root is /home/travis/build/<repo>
# e.g. /home/travis/build/webignition/simplytestable-travis-integration
# Install node-jslint

# Packaged node already present?
nodejs -v

# Install nodejs
#sudo apt-get install python-software-properties python g++ make
#echo "yes" | sudo add-apt-repository ppa:chris-lea/node.js
#sudo apt-get update
#sudo apt-get install nodejs 
#sudo mkdir /usr/share/node-jslint && cd /usr/share/node-jslint && sudo npm install jslint@0.2.0

# Check installed node and npm versions
#node -v
#npm -v

# See if npm is available

# Check installed node version (did we get the latest, it should have npm but the latest build said otherwise)
#node -v
#npm -v

#!/bin/sh  
# Note to self: Travis project root is /home/travis/build/<repo>
# e.g. /home/travis/build/webignition/simplytestable-travis-integration
# Install node-jslint

# Install nodejs
sudo apt-get install python-software-properties python g++ make
echo "yes" | sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs 
sudo mkdir /usr/share/node-jslint && cd /usr/share/node-jslint && sudo npm install jslint@0.2.0

# Check installed node and npm versions
node -v
npm -v

# See if npm is available

# Check installed node version (did we get the latest, it should have npm but the latest build said otherwise)
#node -v
#npm -v

Check installed versions of node and npm
Check installed versions of node and npm