Commit 25e4dcf 1 parent e22fec6 commit 25e4dcf Copy full SHA for 25e4dcf
File tree 1 file changed +23
-14
lines changed
1 file changed +23
-14
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
- env :
3
- - CXX=g++-4.8
4
- language : node_js
5
-
6
- node_js :
7
- - 0.8
8
- - 0.10
9
- - 0 # Latest 0.x.x build.
10
- - 3 # Latest io.js build.
11
- - 4.2.4 # LTS
12
- - stable
2
+ language : cpp
13
3
14
- matrix :
15
- allow_failures :
16
- - node_js : 0.8
4
+ env :
5
+ matrix :
6
+ - TRAVIS_NODE_VERSION="0.10"
7
+ - TRAVIS_NODE_VERSION="0.12"
8
+ - TRAVIS_NODE_VERSION="4"
9
+ - TRAVIS_NODE_VERSION="5"
10
+ - TRAVIS_NODE_VERSION="6"
11
+ - TRAVIS_NODE_VERSION="stable"
17
12
18
13
addons :
19
14
apt :
@@ -28,6 +23,20 @@ addons:
28
23
- gcc-4.8
29
24
30
25
before_script :
26
+ # reinstall latest nvm
27
+ - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh
28
+ - nvm install $TRAVIS_NODE_VERSION
29
+ - PATH=$PATH:`pwd`/node_modules/.bin
30
+
31
+ # print versions
32
+ - node --version
33
+ - npm --version
34
+
35
+ # use g++-4.8 on Linux
36
+ - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
37
+ - $CXX --version
38
+
39
+ # Start xvfb
31
40
- export DISPLAY=:99.0
32
41
- sh -e /etc/init.d/xvfb start
33
42
You can’t perform that action at this time.
0 commit comments