Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Commit

Permalink
Update Dependencies (#358)
Browse files Browse the repository at this point in the history
- update dependencies
- remove travis "before_install"
- only run coverage on one version
  • Loading branch information
hasezoey authored and Ben305 committed Jul 27, 2019
1 parent ea1c0ec commit a3c7cee
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 297 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ node_js:
- "8"
# Test against highest node version available
- lts/*
before_install:
- |
# Test against oldest allowed packages
# sed -i 's/"\^/"/g' package.json
npm i mongoose@5.5.14 --no-save
script:
# Audit to make sure there are no vulnerabilities, but do not affect the whole build
- (npm audit || exit 0)
Expand All @@ -25,5 +20,8 @@ deploy:
only:
- master
after_success:
# Generate the Coverage
- npm run coverage
# Generate the Coverage only for one version
- |
if [[ $TRAVIS_NODE_VERSION == "lts/*" ]]; then
npm run coverage
fi
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,3 +541,7 @@ For reference properties:
* Add frequently used (currently not present) features if needed
* Create more tests (break down current huge one into multiple unit tests)
### Notes
* `mongoose` is a peer-dependency, and a dev dependency to install it for dev purposes
Loading

0 comments on commit a3c7cee

Please sign in to comment.