Skip to content

Commit

Permalink
build: mocha@2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jul 9, 2019
1 parent 474c75b commit 64e29ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ before_install:
grep -E '^eslint(-|$)' | \
xargs -n 1 npm rm --save-dev
fi
- |
# mocha for testing
# - use 1.x for Node.js < 0.8
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 8 ]]; then
npm install --save-dev mocha@1.21.5
fi
# Update Node.js modules
- |
# Prune and rebuild node_modules
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.0",
"istanbul": "0.4.5",
"mocha": "1.21.5"
"mocha": "2.5.3"
},
"files": [
"LICENSE",
Expand Down

0 comments on commit 64e29ec

Please sign in to comment.