No description or website provided.
Shell Lua
Failed to load latest commit information.
.travis Initial commit Jul 30, 2015
awesome Initial commit Jul 30, 2015
.luacov Initial commit Jul 30, 2015
.travis.yml Update .travis.yml Feb 21, 2016 Update Aug 26, 2016
awesome-tests.lua Add call to done Jul 30, 2015

Codecov Lua Example travisCI @codecov

This repository serves as an example of how to use the Codecov global uploader with Lua.

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.

Basic Usage

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

lua -lluacov awesome-tests.lua

After you've run the tests and created a LuaCov report, you can use the Codecov global uploader to push that report to Codecov. See below for further details.

travis-org Travis CI

Public Repos

Adjust the example in lua-travis-example to install any necessary dependencies and test with multiple versions of Lua (if desired).

Then simply add this to .travis.yml:

  - bash <(curl -s

Private Repos

Add to your .travis.yml file.

    - CODECOV_TOKEN=:uuid-repo-token

  - bash <(curl -s

Other CI services

  • Adjust the materials in lua-travis-example as necessary to work with your CI. (See for example: this post for an example using
  • Add CODECOV_TOKEN=<your repo token> to your CI's environment variables. (Don't store the raw token in your repo.)
  • Run bash <(curl -s after tests complete.

More details

Visit the global uploader's repo to view its source and learn more about the script.