Skip to content

Commit

Permalink
build: mocha@6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Mar 27, 2019
1 parent d393d9c commit 501995a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ before_install:
# 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
# - use 3.x for Node.js < 4
# - use 5.x for Node.js < 6
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 4 ]]; then
npm install --save-dev mocha@3.5.3
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
npm install --save-dev mocha@5.2.0
fi
- |
# nyc for coverage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"eslint": "2.13.1",
"mocha": "5.2.0",
"mocha": "6.0.2",
"nyc": "13.1.0",
"supertest": "3.4.2"
},
Expand Down

0 comments on commit 501995a

Please sign in to comment.