diff options
author | Peter Drahoš <drahosp@gmail.com> | 2012-04-01 19:00:15 +0200 |
---|---|---|
committer | Peter Drahoš <drahosp@gmail.com> | 2012-04-01 19:00:15 +0200 |
commit | 3544f0d82899f37d5d0be590f8ce9176f44bccb4 (patch) | |
tree | 15fc2738e8cf067261e4f3c69777abd0b7b27e9c | |
parent | ff003bc446adeea1fc3f7848a0cd7e23357cef0e (diff) | |
download | lua-3544f0d82899f37d5d0be590f8ce9176f44bccb4.tar.gz |
Travis-CI hook.
-rw-r--r-- | .travis.yml | 10 | ||||
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | README.md (renamed from README) | 3 |
3 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8568a8e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: erlang # Not really ... + +install: + - sudo apt-get install cmake + +script: + - mkdir _build && cd _build + - cmake .. -DCMAKE_INSTALL_PREFIX=../install + - cmake --build . --target install + - ctest . diff --git a/CMakeLists.txt b/CMakeLists.txt index 7806059..10d8112 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,7 +162,7 @@ target_link_libraries ( luac ${LIBS} ) install_executable ( lua luac ) install_library ( liblua ) -install_data ( README ) +install_data ( README.md ) #install_lua_module ( strict etc/strict.lua ) install_header (src/lua.h src/lualib.h src/lauxlib.h ${CMAKE_CURRENT_BINARY_DIR}/luaconf.h ) install_doc ( doc/ ) @@ -1,5 +1,8 @@ This is Lua 5.2, released on 12 Dec 2011. +================ + +[![Build Status](https://secure.travis-ci.org/LuaDist/lua.png?branch=master)](http://travis-ci.org/LuaDist/lua) For installation instructions, license details, and further information about Lua, see doc/readme.html. |