Skip to content

flessard/example-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codecov TypeScript Example

codecov Build Status

Guide

Travis Setup

Add to your .travis.yml file.

language: node_js
scripts:
  - npm install codecov -g
after_success:
  - codecov

Producing Coverage Reports

nyc report --reporter=json > coverage/coverage.json

Caveats

Private Repo

Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via codecov --token=:token or export CODECOV_TOKEN=":token"

Support

FAQ

  • Q: Why no coverage reports showing up?
    A:Make sure you have enabled source mapping. tsc -p . --sourcemap

Or in your tsconfig.json

{
  "compilerOptions": {
    "sourceMap": true,
  }
}
  1. More documentation at https://docs.codecov.io
  2. Configure codecov through the codecov.yml https://docs.codecov.io/docs/codecov-yaml

We are happy to help if you have any questions. Please contact email our Support at [email protected]

About

Example repo for uploading reports to Codecov https://codecov.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%