Commit 5a787bf2 authored by François Perrad's avatar François Perrad

Travis: add coveralls

parent 82f87e55
......@@ -20,6 +20,7 @@ install:
- make
- sudo make install
- cd ..
- sudo luarocks install luacov-coveralls
- sudo luarocks install lua-testmore
- sudo luarocks install lsqlite3
- sudo luarocks install luasql-sqlite3
......@@ -30,6 +31,7 @@ install:
# Build and test.
script:
- make LUA=lua$LUASUFFIX test
- make LUA=lua$LUASUFFIX coveralls
branches:
only:
......
......@@ -115,6 +115,11 @@ coverage:
cd src && prove --exec="$(LUA) -lluacov" ../test/*.t
cd src && luacov
coveralls:
rm -f src/luacov.stats.out src/luacov.report.out
cd src && prove --exec="$(LUA) -lluacov" ../test/*.t
cd src && luacov-coveralls -v
README.html: README.md
Markdown.pl README.md > README.html
......
......@@ -3,7 +3,8 @@ lua-CoatPersistent : an ORM for lua-Coat
========================================
[![Build Status](https://travis-ci.org/fperrad/lua-CoatPersistent.png)](https://travis-ci.org/fperrad/lua-CoatPersistent)
[![Licence](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE)
[![Coverage Status](https://coveralls.io/repos/fperrad/lua-CoatPersistent/badge.png?branch=master)](https://coveralls.io/r/fperrad/lua-CoatPersistent?branch=master)
[![Licence](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](COPYRIGHT)
Introduction
------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment