Commit 9fef0fe4 authored by François Perrad's avatar François Perrad

add Travis

parent af3be83d
language: c
env:
- LUASUFFIX=5.1 LUAVER=5.1
- LUASUFFIX=5.2 LUAVER=5.2
- LUASUFFIX=jit LUAVER=5.1
# Tool setup.
install:
- sudo apt-get install -qq lua5.1 liblua5.1-0-dev
- sudo apt-get install -qq lua5.2 liblua5.2-dev
- sudo apt-get install -qq luajit
- sudo ln -s /usr/bin/luajit-2.0.0-beta9 /usr/bin/luajit
- sudo rm /usr/bin/lua
- sudo ln -s /usr/bin/lua$LUASUFFIX /usr/bin/lua
- lua -v
- git clone git://github.com/keplerproject/luarocks.git
- cd luarocks
- ./configure --lua-version=$LUAVER --lua-suffix=$LUASUFFIX
- make
- sudo make install
- cd ..
- sudo luarocks install lua-testmore
- sudo luarocks install lua-testlongstring
- sudo apt-get install -qq libssl-dev libexpat1-dev
- sudo luarocks install luasocket
- sudo luarocks install luasec
- sudo luarocks install luaexpat
- sudo luarocks install luajson
- sudo luarocks install lualogging
- sudo luarocks install luacrypto
# Build and test.
script:
- make LUA=lua$LUASUFFIX test
branches:
only:
- master
......@@ -2,6 +2,9 @@
lua-Spore : a generic ReST client
=================================
[![Build Status](https://travis-ci.org/fperrad/lua-Spore.png)](https://travis-ci.org/fperrad/lua-Spore)
[![Licence](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE)
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