Create a gist now

Instantly share code, notes, and snippets.

@sdepold /travis.sh
Last active Oct 29, 2015

What would you like to do?
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)"
Owner

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