Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .luacov
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
modules = {
["serpent"] = "src/serpent.lua"
}
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: python
sudo: false

env:
- LUA="lua=5.1"
- LUA="lua=5.2"
- LUA="lua=5.3"
- LUA="luajit=2.0"
- LUA="luajit=2.1"

before_install:
- pip install codecov
- pip install hererocks
- hererocks lua_install --$LUA -r latest
- source lua_install/bin/activate
- luarocks install cluacov

install:
- luarocks make

script:
- lua -lluacov t/test.lua

after_script:
- luacov
- codecov -X gcov
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Serpent

[![Build Status](https://travis-ci.org/pkulchenko/serpent.svg?branch=master)](https://travis-ci.org/pkulchenko/serpent)
[![Coverage status](https://codecov.io/gh/pkulchenko/serpent/branch/master/graph/badge.svg)](https://codecov.io/gh/pkulchenko/serpent)

Lua serializer and pretty printer.

## Features
Expand Down