https://github.com/codecov/example-lua
https://github.com/codecov/example-lua
codecov coverage lua luacov
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/codecov/example-lua
- Owner: codecov
- License: mit
- Created: 2015-07-30T14:01:24.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T20:55:17.000Z (over 1 year ago)
- Last Synced: 2025-04-11T15:10:25.148Z (21 days ago)
- Topics: codecov, coverage, lua, luacov
- Language: Shell
- Size: 34.2 KB
- Stars: 7
- Watchers: 18
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[Codecov][1] Lua Example [](https://travis-ci.org/codecov/example-lua) [](http://codecov.io/github/codecov/example-lua)
=====================Note that the coverage is deliberately incomplete. (I swear by Kent Beck!) That
way you can [follow the badge link][5] and see how [Codecov][1] works. You can
view the code there, see hits and misses for coverage, etc.## Guide
### Travis SetupAdd to your `.travis.yml` file.
```yml
language: c
after_success:
- bash <(curl -s https://codecov.io/bash)
```
### Produce Coverage Reports
Run your tests with [LuaCov][5] in order to create the necessary coverage
reports. For example:```
lua -lluacov awesome-tests.lua
```
## Caveats
### Private Repos
Add to your `.travis.yml` file.
```yml
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-yamlWe are happy to help if you have any questions. Please contact email our Support at [[email protected]](mailto:[email protected])
[1]: https://codecov.io/
[5]: http://keplerproject.github.io/luacov