Skip to content

Commit

Permalink
Try generate report by default
Browse files Browse the repository at this point in the history
  • Loading branch information
neild3r committed Nov 17, 2019
1 parent 1452d1e commit d934555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ install:
- npm run vscode:prepublish

after_success:
- npm run coverage
- codecov -f coverage/coverage-final.json
- codecov

cache:
directories:
Expand Down
3 changes: 2 additions & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export async function run(): Promise<void> {
const nyc = new NYC({
cwd: path.join(__dirname, '..', '..'),
exclude: ['**/test/**', '.vscode-test/**'],
reporter: ['text', 'html'],
reporter: ['json', 'lcov'],
extension: ['ts'],
all: true,
instrument: true,
hookRequire: true,
Expand Down

0 comments on commit d934555

Please sign in to comment.