diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2017-09-21 18:44:10 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2017-09-21 18:54:19 +0200 |
commit | 02c9c35e650c93191b0cda76251765f03f15fa7c (patch) | |
tree | 8fa2779a29f8a901eacc0ed2dd2777ee7fd2db5d | |
parent | f688b9025ea113eecfd5967a8d611b51f037c297 (diff) | |
download | valua-02c9c35e650c93191b0cda76251765f03f15fa7c.tar.gz valua-02c9c35e650c93191b0cda76251765f03f15fa7c.tar.bz2 valua-02c9c35e650c93191b0cda76251765f03f15fa7c.zip |
add coveralls.io support
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | .travis.yml | 3 | ||||
-rw-r--r-- | README.md | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..abad166 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +luacov.report.out +luacov.stats.out + diff --git a/.travis.yml b/.travis.yml index 5628fd1..525a299 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,12 +20,15 @@ before_install: install: - luarocks install luacheck + - luarocks install luacov-coveralls script: - luacheck --codes --std=max *.lua - lua valua-test.lua after_success: + - lua -lluacov valua-test.lua + - luacov-coveralls notifications: email: @@ -1,6 +1,7 @@ ##Valua - Validation for Lua [![Build Status](https://travis-ci.org/sailorproject/valua.svg?branch=master)](https://travis-ci.org/sailorproject/valua) +[![Coverage Status](https://coveralls.io/repos/github/sailorproject/valua/badge.svg?branch=master)](https://coveralls.io/github/sailorproject/valua?branch=master) A module for making chained validations. Create your objects, append your tests, use and reuse it! |