Skip to content

Commit 5840243

Browse files
committed
try old way for travis
1 parent ae00156 commit 5840243

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

.travis.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
1-
language: node_js
2-
node_js:
3-
- "0.10"
4-
- "0.12"
5-
- "1.4.3"
6-
71
env:
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"
146
before_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.
2920
before_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-
3929
git:
4030
depth: 1
41-
4231
branches:
4332
only:
4433
- master
4534
- v0.3
46-
4735
os:
4836
- linux
4937
- osx
50-
5138
script: npm test
52-
5339
notifications:
5440
slack:
5541
secure: KglNSqZiid9YudCwkPFDh+sZfW5BwFlM70y67E4peHwwlbbV1sSBPHcs74ZHP/lqgEZ4hMv4N2NI58oYFD5/1a+tKIQP1TkdIMuq4j2LXheuirA2HDcydOVrsC8kRx5XFGKdVRg/uyX2dlRHcOWFhxrS6yc6IxtxYWlRTD2SmEc=

0 commit comments

Comments
 (0)