File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
- language : node_js
1
+ language : cpp
2
2
cache : npm
3
3
4
4
matrix :
@@ -31,16 +31,21 @@ addons:
31
31
- g++-4.8
32
32
- gcc-4.8
33
33
34
- services :
35
- - xvfb
36
-
37
34
before_install :
38
- # print versions
35
+ - 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
36
+ - nvm install $TRAVIS_NODE_VERSION
37
+ - PATH=$PATH:`pwd`/node_modules/.bin
38
+
39
39
- node --version
40
40
- npm --version
41
41
42
- # use g++-4.8 on Linux
43
42
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
43
+ - $CXX --version
44
+
45
+ before_script :
46
+ # Start xvfb
47
+ - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; fi
48
+ - if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
44
49
45
50
install : true
46
51
You can’t perform that action at this time.
0 commit comments