No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode init Jan 12, 2017
src init Jan 12, 2017
test init Jan 12, 2017
.gitignore init Jan 12, 2017
.travis.yml Add linux before-install section Jan 12, 2017
.vscodeignore init Jan 12, 2017 init Jan 12, 2017
LICENSE init Jan 12, 2017 Update Apr 26, 2018
coverconfig.json init Jan 12, 2017
package.json init Jan 12, 2017
tsconfig.json init Jan 12, 2017

Codecov VSCode Extension Example

codecov Build Status


  1. Clone this repo git clone
  2. Start working on your TypeScript project (only ts-code)


Travis Setup

Add to your .travis.yml file.

language: node

  - if [ $TRAVIS_OS_NAME == "linux" ]; then
      export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
      sh -e /etc/init.d/xvfb start;
      sleep 3;

  - npm run vscode:prepublish
  - npm test

- bash <(curl -s

Producing Coverage Reports

Make sure you build your extension. In this case via tsc -p ./ or simply npm run vscode:prepublish

Add to coverconfig.json:

    "enabled": true,
    "relativeSourcePath": "../src",
    "relativeCoverageDir": "../../coverage",
    "ignorePatterns": ["**/node_modules/**"],
    "includePid": false,
    "reports": ["json", "html", "lcov"],
    "verbose": false

Run npm test which runs node ./node_modules/vscode/bin/test

Differences to standard yo code generated example

  • Modified test/index.ts - the main testrunner rewritten completely
  • Changes in stripts and devDependencies section in package.json
  • coverconfig.json added - small config file to change coverage settings localy.


Private Repos

Add to your .travis.yml file.

  - bash <(curl -s -t uuid-repo-token
  1. More documentation at
  2. Configure codecov through the codecov.yml

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