forked from noble/noble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (40 loc) · 818 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
os:
- linux
- osx
language: cpp
env:
- NODE_VERSION="0.8"
- NODE_VERSION="0.10"
- NODE_VERSION="0.12"
- NODE_VERSION="4.0"
- NODE_VERSION="4.1"
- NODE_VERSION="4.2"
- NODE_VERSION="5.0"
- NODE_VERSION="5.1"
- NODE_VERSION="5.2"
- NODE_VERSION="5.3"
- NODE_VERSION="5.4"
- NODE_VERSION="5.5"
matrix:
fast_finish: true
before_install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm;
- source /tmp/.nvm/nvm.sh;
- nvm install $NODE_VERSION;
- nvm use --delete-prefix $NODE_VERSION;
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CC="g++-4.8";
fi
- if [ $NODE_VERSION == "0.8" ]; then
npm install -g npm@2;
fi
install:
- npm install
script:
- npm test
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8