File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,30 @@ language: node_js
22sudo : false
33
44node_js :
5+ # - "0.8" - disabled unless jscs has 0.8 support
56 - " 0.10"
67 - " 0.12"
7- - " iojs"
8+ - " v4"
9+ - " v5"
810
911matrix :
1012 fast_finish : true
1113
14+ before_install :
15+ # 0.8 has npm-1.2 that doesn't support caret (^) operator
16+ - |
17+ [[ $(npm -v) < "2.0" ]] && npm i -g npm@latest-2 || true
18+ - npm --version
19+
1220before_script :
13- - ln -s ../ ./node_modules/jscs-jsdoc
21+ # v5 don't need that symlink for some reason (npm3?)
22+ - |
23+ [ -d ./node_modules/jscs-jsdoc ] || ln -s ../ ./node_modules/jscs-jsdoc
1424
1525after_success :
26+ # calculate coverage only once
1627 - |
17- if [ "${TRAVIS_NODE_VERSION}" == "0.10 " ]; then
28+ if [ "${TRAVIS_NODE_VERSION}" == "0.12 " ]; then
1829 npm i istanbul istanbul-coveralls
1930 istanbul cover --report lcovonly ./node_modules/.bin/_mocha
2031 istanbul-coveralls && echo "Coverage data was sent to coveralls!"
You can’t perform that action at this time.
0 commit comments