Add coverage gathering

This commit is contained in:
mpeterv 2015-09-10 23:10:49 +03:00
parent e511d42c17
commit 6028a607e7
2 changed files with 10 additions and 1 deletions

5
.luacov Normal file
View File

@ -0,0 +1,5 @@
return {
modules = {
markdown = "markdown.lua"
}
}

View File

@ -13,7 +13,11 @@ before_install:
- export PATH=$PATH:$PWD/here/bin
install:
- luarocks install luacov-coveralls
- luarocks make
script:
- lua markdown-tests.lua
- lua -lluacov markdown-tests.lua
after_success:
- luacov-coveralls