Skip to content

Instantly share code, notes, and snippets.

@sdepold
Last active October 29, 2015 20:00
Show Gist options
  • Save sdepold/a7f17e4854d79b533cf1 to your computer and use it in GitHub Desktop.
Save sdepold/a7f17e4854d79b533cf1 to your computer and use it in GitHub Desktop.
io.js on travis
if [ ! -z "$IOJS" ] && [ "$IOJS" != "false" ]; then
echo "Installing io.js v$IOJS ..."
curl -s https://iojs.org/dist/v$IOJS/iojs-v$IOJS-linux-x64.tar.xz > iojs-v$IOJS-linux-x64.tar.xz
tar xf iojs-v$IOJS-linux-x64.tar.xz
export PATH="$(pwd)/iojs-v$IOJS-linux-x64/bin/:$PATH"
echo "Installation successful"
else
echo "Using node..."
fi
echo "node --version $(node --version)"
echo "npm --version $(npm --version)"
@sdepold
Copy link
Author

sdepold commented Feb 8, 2015

There is a blog post about it here: http://blog.depold.com/running-io-js-builds-on-travis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment