File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed
Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change 1- language : node_js
2- node_js :
3- - " 0.10"
4- - " 0.12"
5- - " 1.4.3"
6-
71env :
82 matrix :
9- fast_finish : true
10- allow_failures :
11- - node_js "0.10"
12- - node_js "1.4.3"
13-
3+ - export NODE_VERSION="0.10"
4+ - export NODE_VERSION="0.12"
5+ - export NODE_VERSION="iojs"
146before_install :
7+ - git clone https://github.com/creationix/nvm.git ./.nvm
8+ - source ./.nvm/nvm.sh
9+ - nvm install $NODE_VERSION
10+ - nvm use $NODE_VERSION
1511 - if [ $TRAVIS_OS_NAME == "linux" ]; then
1612 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
1713 sudo apt-get -qq update;
1814 sudo apt-get -qq install g++-4.8;
1915 export CXX='g++-4.8';
2016 fi
21- - if [ $TRAVIS_OS_NAME = "osx" ]; then
22- git clone https://github.com/creationix/nvm.git ./.nvm;
23- source ./.nvm/nvm.sh;
24- fi
2517 - " export JOBS=4"
2618 - BUILD_ONLY=true npm install
27-
2819# This is a random private key used purely for testing.
2920before_script :
3021 - echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
@@ -35,21 +26,16 @@ before_script:
3526 - ssh-add ~/.ssh/id_rsa
3627 - git config --global user.name "John Doe"
3728 - git config --global user.email johndoe@example.com
38-
3929git :
4030 depth : 1
41-
4231branches :
4332 only :
4433 - master
4534 - v0.3
46-
4735os :
4836 - linux
4937 - osx
50-
5138script : npm test
52-
5339notifications :
5440 slack :
5541 secure : KglNSqZiid9YudCwkPFDh+sZfW5BwFlM70y67E4peHwwlbbV1sSBPHcs74ZHP/lqgEZ4hMv4N2NI58oYFD5/1a+tKIQP1TkdIMuq4j2LXheuirA2HDcydOVrsC8kRx5XFGKdVRg/uyX2dlRHcOWFhxrS6yc6IxtxYWlRTD2SmEc=
You can’t perform that action at this time.
0 commit comments