This repository was archived by the owner on Jul 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +37
-15
lines changed
Expand file tree Collapse file tree 1 file changed +37
-15
lines changed Original file line number Diff line number Diff line change 1- language : node_js
2-
3- env : SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true CC=gcc-4.7 CXX=g++-4.7 LINK=gcc-4.7 LINKXX=g++-4.7
4-
1+ language : cpp
52compiler : gcc
6-
73sudo : false
84
9- node_js :
10- - " 0.10"
11- - " 0.12"
12- - " iojs-v1.0"
13- - " iojs-v1"
14- - " iojs-v2"
15- - " iojs-v3"
16- - " 4"
5+ os :
6+ - linux
7+ - osx
8+
9+ env :
10+ global :
11+ - SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true
12+ matrix :
13+ - export NODE_VERSION="0.10"
14+ - export NODE_VERSION="0.12"
15+ - export NODE_VERSION="iojs-v1.0"
16+ - export NODE_VERSION="iojs-v1"
17+ - export NODE_VERSION="iojs-v2"
18+ - export NODE_VERSION="iojs-v3"
19+ - export NODE_VERSION="4"
1720
1821matrix :
1922 fast_finish : true
@@ -27,10 +30,29 @@ addons:
2730 - g++-4.7
2831
2932before_install :
30- - g++ --version
3133 - git submodule update --init --recursive
34+ - git clone https://github.com/creationix/nvm.git ./.nvm
35+ - source ./.nvm/nvm.sh
36+ - nvm install $NODE_VERSION
37+ - nvm use $NODE_VERSION
38+ - npm config set python `which python`
39+ - if [ $TRAVIS_OS_NAME == "linux" ]; then
40+ export CC="gcc-4.7";
41+ export CXX="g++-4.7";
42+ export LINK="gcc-4.7";
43+ export LINKXX="g++-4.7";
44+ fi
45+ - gcc --version
46+ - g++ --version
47+
48+ script :
49+ - npm install
50+ - npm test
3251
33- after_success : npm run-script coverage
52+ after_success :
53+ - if [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "4" ]; then
54+ npm run-script coverage;
55+ fi
3456
3557cache :
3658 directories :
You can’t perform that action at this time.
0 commit comments