-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
because istanbul is deprecated
- Loading branch information
Showing
4 changed files
with
1,340 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,4 @@ npm-debug.log | |
.directory | ||
._* | ||
*.iml | ||
.nyc_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.