-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maint: add travis test results and codecov.io coverage reporting.
* .luacov: New file. * .travis.yml (script): Run specl in coverage mode. (after_success): Upload coverage report. * .gitignore: Ignore luacov output files. Signed-off-by: Gary V. Vaughan <[email protected]>
- Loading branch information
Showing
3 changed files
with
57 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,6 @@ | |
/ChangeLog | ||
/doc | ||
/build-aux/config.ld | ||
/luacov.*.out | ||
/lyaml-*.tar.gz | ||
/TAGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
return { | ||
-- filename to store stats collected | ||
["statsfile"] = "luacov.stats.out", | ||
|
||
-- filename to store report | ||
["reportfile"] = "luacov.report.out", | ||
|
||
-- luacov.stats file updating frequency. | ||
-- The lower this value - the more frequenty results will be written out to luacov.stats | ||
-- You may want to reduce this value for short lived scripts (to for example 2) to avoid losing coverage data. | ||
["savestepsize"] = 100, | ||
|
||
-- Run reporter on completion? (won't work for ticks) | ||
runreport = true, | ||
|
||
-- Delete stats file after reporting? | ||
deletestats = false, | ||
|
||
-- Process Lua code loaded from raw strings | ||
-- (that is, when the 'source' field in the debug info | ||
-- does not start with '@') | ||
codefromstrings = false, | ||
|
||
-- Patterns for files to include when reporting | ||
-- all will be included if nothing is listed | ||
-- (exclude overrules include, do not include | ||
-- the .lua extension, path separator is always '/') | ||
["include"] = { | ||
"lib/lyaml/init$", | ||
"lib/lyaml/explicit$", | ||
"lib/lyaml/functional$", | ||
"lib/lyaml/implicit$", | ||
}, | ||
|
||
-- Patterns for files to exclude when reporting | ||
-- all will be included if nothing is listed | ||
-- (exclude overrules include, do not include | ||
-- the .lua extension, path separator is always '/') | ||
["exclude"] = { | ||
"luacov$", | ||
"luacov/reporter$", | ||
"luacov/defaults$", | ||
"luacov/runner$", | ||
"luacov/stats$", | ||
"luacov/tick$", | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters