Skip to content

Commit 348dae7

Browse files
authored
Merge pull request #315 from serverless-operations/add-nyc
add nyc package instead of istanbul
2 parents 33404b0 + 4e2f57d commit 348dae7

File tree

4 files changed

+1062
-61
lines changed

4 files changed

+1062
-61
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ lib-cov
1313

1414
# Coverage directory used by tools like istanbul
1515
coverage
16+
.nyc_output
1617

1718
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
1819
.grunt

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ sudo: false
1414

1515
install:
1616
- travis_retry npm install
17+
- npm install -g codecov
1718

1819
script:
19-
- if [[ -z "$DISABLE_TESTS" ]]; then npm run test; fi
20+
- if [[ -z "$DISABLE_TESTS" ]]; then npm run coverage; fi
2021
- if [[ ! -z "$DISABLE_TESTS" && ! -z "$LINTING" ]]; then npm run lint; fi
2122

2223
after_success:
23-
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
24+
- codecov
25+
- rm -rf ./.nyc_output
26+
- rm -rf ./coverage

0 commit comments

Comments
 (0)