Last active
October 29, 2015 20:00
-
-
Save sdepold/a7f17e4854d79b533cf1 to your computer and use it in GitHub Desktop.
io.js on travis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a blog post about it here: http://blog.depold.com/running-io-js-builds-on-travis