Skip to content

Commit 4fc0d2f

Browse files
author
Simon Hofmann
committed
Changed language from node to cpp
1 parent 9bcb7f3 commit 4fc0d2f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.travis.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
language: node_js
1+
language: cpp
22
cache: npm
33

44
matrix:
@@ -31,16 +31,21 @@ addons:
3131
- g++-4.8
3232
- gcc-4.8
3333

34-
services:
35-
- xvfb
36-
3734
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+
3939
- node --version
4040
- npm --version
4141

42-
# use g++-4.8 on Linux
4342
- 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
4449

4550
install: true
4651

0 commit comments

Comments
 (0)