Skip to content

Travis CI improvements: build status badge, update/fix Lua dist installation #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
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
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ env:
- PLATFORM=linux
- LUAROCKS_VER=2.2.0
matrix:
- LUA=lua5.1 LUA_SFX=
- LUA=lua5.2 LUA_SFX=
- LUA=luajit LUA_SFX=jit
- LUA=lua5.3 LUA_SFX=
- LUA=lua5.1 LUA_SFX=
- LUA=lua5.2 LUA_SFX=
- LUA=lua5.3 LUA_SFX=
- LUA=luajit LUA_SFX=jit
- LUA=luajit2.1 LUA_SFX=jit

before_install:
- bash -x .travis/setup_lua.sh
Expand Down
12 changes: 6 additions & 6 deletions .travis/setup_lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ else
curl http://www.lua.org/ftp/lua-5.1.5.tar.gz | tar xz
cd lua-5.1.5;
elif [ "$LUA" == "lua5.2" ]; then
curl http://www.lua.org/ftp/lua-5.2.3.tar.gz | tar xz
cd lua-5.2.3;
curl http://www.lua.org/ftp/lua-5.2.4.tar.gz | tar xz
cd lua-5.2.4;
elif [ "$LUA" == "lua5.3" ]; then
curl http://www.lua.org/work/lua-5.3.0-beta.tar.gz | tar xz
cd lua-5.3.0-beta;
curl http://www.lua.org/ftp/lua-5.3.0.tar.gz | tar xz
cd lua-5.3.0;
fi
sudo make $PLATFORM install;
fi
Expand Down Expand Up @@ -95,7 +95,7 @@ if [ "$LUAJIT" == "yes" ]; then
elif [ "$LUA" == "lua5.1" ]; then
rm -rf lua-5.1.5;
elif [ "$LUA" == "lua5.2" ]; then
rm -rf lua-5.2.3;
rm -rf lua-5.2.4;
elif [ "$LUA" == "lua5.3" ]; then
rm -rf lua-5.3.0-beta;
rm -rf lua-5.3.0;
fi
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
README for lua-cmsgpack.c
===

[![Build Status](https://travis-ci.org/CheyiLin/lua-cmsgpack.svg?branch=mattsta-pull-requests)](https://travis-ci.org/CheyiLin/lua-cmsgpack)

Lua-cmsgpack is a [MessagePack](http://msgpack.org) implementation and bindings for
Lua 5.1/5.2/5.3 in a self contained C file without external dependencies.

Expand Down