Run against multiple nodejs versions

This commit is contained in:
Antonio Scandurra 2015-04-09 10:58:14 +02:00
parent 3d6c6d0cc1
commit f78dec2574

View File

@ -1,9 +1,20 @@
env:
- NODE_VERSION=0.10
- NODE_VERSION=0.12
- NODE_VERSION=iojs
os:
- linux
- osx
install:
- test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get install build-essential git libgnome-keyring-dev fakeroot || true
- git clone https://github.com/creationix/nvm.git ./.nvm
- source ./.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- if [ $TRAVIS_OS_NAME == "linux" ]; then
sudo apt-get install build-essential git libgnome-keyring-dev fakeroot;
fi
script: script/cibuild