Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
starwing committed May 4, 2020
0 parents commit 65a1e36
Show file tree
Hide file tree
Showing 8 changed files with 4,413 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.gcov
*.gcda
*.gcno
*.o
*.so
*.old
43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
language: c
sudo: false

env:
global:
- ROCKSPEC=rockspecs/lua-mp-scm-1.rockspec
matrix:
- LUA="lua 5.1"
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="lua 5.4"
- LUA="luajit 2.0"
- LUA="luajit 2.1"

branches:
only:
- master

before_install:
- pip install --user urllib3[secure] cpp-coveralls
- curl -O https://raw.githubusercontent.com/luarocks/hererocks/master/hererocks.py
- python hererocks.py env --$LUA -rlatest
- source env/bin/activate

install:
# - sudo luarocks make $ROCKSPEC CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
- luarocks make $ROCKSPEC CFLAGS="-O3 -fPIC -Wall -Wextra --coverage" LIBFLAG="-shared --coverage"

script:
- lua test.lua
# - lunit.sh test.lua

after_success:
- coveralls
# - coveralls -b .. -r .. --dump c.report.json
# - luacov-coveralls -j c.report.json -v

notifications:
email:
on_success: change
on_failure: always

# vim: ft=yaml nu et sw=2 fdc=2 fdm=syntax
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# lua-mp - Yet another msgpack implement for Lua

[![Build Status](https://travis-ci.org/starwing/lua-mp.svg?branch=master)](https://travis-ci.org/starwing/lua-mp)[![Coverage Status](https://coveralls.io/repos/github/starwing/lua-mp/badge.svg?branch=master)](https://coveralls.io/github/starwing/lua-mp?branch=master)

Loading

0 comments on commit 65a1e36

Please sign in to comment.