build: enable codecov partial coverage and use bash uploader (#1396)

This commit is contained in:
Konstantin Vyatkin
2019-10-14 00:07:32 -04:00
committed by Yiyu He
parent ef5c43bcbc
commit 8be5626bbb
2 changed files with 6 additions and 2 deletions

4
.codecov.yml Normal file
View File

@@ -0,0 +1,4 @@
coverage:
parsers:
javascript:
enable_partials: yes

View File

@@ -17,5 +17,5 @@ script:
- npm run test-cov
- npm run bench
after_script:
- npm install codecov
- ./node_modules/.bin/codecov
# only upload the coverage.json file
- bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json