File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,15 @@ before_install:
3737 if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 10 ]]; then
3838 npm rm --save-dev istanbul
3939 fi
40+ - |
41+ # mocha for testing
42+ # - use 2.x for Node.js < 0.10
43+ # - use 3.x for Node.js < 6
44+ if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 10 ]]; then
45+ npm install --save-dev [email protected] 46+ elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
47+ npm install --save-dev [email protected] 48+ fi
4049 # Update Node.js modules
4150 - |
4251 # Prune & rebuild node_modules
Original file line number Diff line number Diff line change 2222 "eslint-plugin-promise" : " 4.0.1" ,
2323 "eslint-plugin-standard" : " 4.0.0" ,
2424 "istanbul" : " 0.4.5" ,
25- "mocha" : " 2.5.3 "
25+ "mocha" : " 5.2.0 "
2626 },
2727 "files" : [
2828 " HISTORY.md" ,
You can’t perform that action at this time.
0 commit comments