Codecov Lua Example
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.
Add to your .travis.yml
file.
language: c
after_success:
- bash <(curl -s https://codecov.io/bash)
Run your tests with LuaCov in order to create the necessary coverage reports. For example:
lua -lluacov awesome-tests.lua
Add to your .travis.yml
file.
after_success:
- bash <(curl -s https://codecov.io/bash) -t uuid-repo-token
- More documentation at https://docs.codecov.io
- 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]