Skip to content

Commit

Permalink
build: mocha@5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 4, 2018
1 parent 697ea95 commit 9daa37d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Expand Up @@ -14,7 +14,14 @@ before_install:
- |
# Skip updating shrinkwrap / lock
npm config set shrinkwrap false
# Update Node.js modules
# Setup Node.js version-specific dependencies
- |
# mocha for testing
# - use 3.x for Node.js < 6
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
npm install --save-dev mocha@3.5.3
fi
# Update Node.js modules
- |
# Prune & rebuild node_modules
if [[ -d node_modules ]]; then
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -20,7 +20,7 @@
"after": "0.8.2",
"eslint": "2.13.1",
"express": "4.16.3",
"mocha": "3.5.3",
"mocha": "5.2.0",
"nyc": "10.3.2",
"supertest": "1.2.0"
},
Expand Down

0 comments on commit 9daa37d

Please sign in to comment.