Skip to content

Commit

Permalink
chore: switch from istanbul to nyc
Browse files Browse the repository at this point in the history
because istanbul is deprecated
  • Loading branch information
nknapp committed Feb 15, 2019
1 parent 5d4c639 commit d1eb6b1
Show file tree
Hide file tree
Showing 4 changed files with 1,340 additions and 289 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ npm-debug.log
.directory
._*
*.iml
.nyc_output
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
sudo: false
cache:
directories:
- node_modules
language: "node_js"
node_js:
- "node"
- "lts/*"
matrix:
include:
- node_js: "lts/*"
env: STATIC_CHECKS=true
script:
- npm install
- npm run coverage
- npm run lint
- |
if [ "${STATIC_CHECKS}" = "true" ]; then
# Just perform static checks and exit
eslint --max-warnings 0 .
exit 0
fi
- nyc mocha
after_script:
- npm install coveralls
- cat ./coverage/lcov.info | coveralls
- nyc report --reporter=text-lcov | coveralls
Loading

0 comments on commit d1eb6b1

Please sign in to comment.