/example-lua

Primary LanguageShellMIT LicenseMIT

Codecov Lua Example travisCI codecov.io

Note that the coverage is deliberately incomplete. (I swear by Kent Beck!) That way you can follow the badge link and see how Codecov works. You can view the code there, see hits and misses for coverage, etc.

Guide

Travis Setup

Add to your .travis.yml file.

language: c
after_success:
  - bash <(curl -s https://codecov.io/bash)

Produce Coverage Reports

Run your tests with LuaCov in order to create the necessary coverage reports. For example:

lua -lluacov awesome-tests.lua

Caveats

Private Repos

Add to your .travis.yml file.

after_success:
  - bash <(curl -s https://codecov.io/bash) -t uuid-repo-token
  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 support@codecov.io