mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Run against multiple nodejs versions
This commit is contained in:
parent
3d6c6d0cc1
commit
f78dec2574
13
.travis.yml
13
.travis.yml
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user