forked from AdUki/LuaState
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (29 loc) · 774 Bytes
/
.travis.yml
File metadata and controls
37 lines (29 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: cpp
compiler:
- clang
- gcc
env:
matrix:
- LUA=lua5.1 LIBLUA=liblua5.1-dev LUA_INCDIR=/usr/include/lua5.1 LUA_LIB=lua5.1
- LUA=lua5.2 LIBLUA=liblua5.2-dev LUA_INCDIR=/usr/include/lua5.2 LUA_LIB=lua5.2
- LUA=luajit LIBLUA=libluajit-5.1-dev LUA_INCDIR=/usr/include/luajit-2.0 LUA_LIB=luajit-5.1
before_install:
# Clone submodules
- git submodule update --init --recursive
install:
# Install Lua library
- sudo apt-get install $LUA -y
- sudo apt-get install $LIBLUA -y
before_script:
- mkdir build
- cd build
- cmake .. -DLUA_LIBRARIES=$LUA_LIB -DLUA_INCLUDE_DIR=$LUA_INCDIR
script:
- make
- ./state_test
- ./types_test
- ./get_test
- ./set_test
- ./values_test
- ./ref_test
- ./lambda_test