forked from vladfedin/lua-Spore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (44 loc) · 1.4 KB
/
.travis.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: python
sudo: false
env:
- LUA="lua 5.1" COMPAT=default CFLAGS=""
- LUA="lua 5.2" COMPAT=default CFLAGS=""
- LUA="lua 5.2" COMPAT=none CFLAGS=""
- LUA="lua 5.3" COMPAT=default CFLAGS=""
- LUA="lua 5.3" COMPAT=none CFLAGS=""
# - LUA="lua 5.3" COMPAT=default CFLAGS="-DLUA_NOCVTN2S -DLUA_NOCVTS2N"
# - LUA="lua 5.3" COMPAT=default CFLAGS="-DLUA_32BITS"
# - LUA="lua 5.3" COMPAT=default CFLAGS="-DLUA_FLOAT_TYPE=3"
- LUA="luajit 2.0" COMPAT=none CFLAGS=""
- LUA="luajit 2.0" COMPAT=all CFLAGS=""
# - LUA="luajit 2.1" COMPAT=none CFLAGS=""
# - LUA="luajit 2.1" COMPAT=all CFLAGS=""
addons:
apt:
packages:
- libssl-dev
- libexpat1-dev
- libyaml-dev
before_install:
- pip install hererocks
- hererocks HERE --$LUA --compat $COMPAT --cflags="$CFLAGS" --no-readline --luarocks latest --verbose
- hererocks HERE --show
- source HERE/bin/activate
install:
- luarocks install luacov-coveralls
- luarocks install luacheck
- luarocks install lua-testmore
- luarocks install lua-testlongstring
- luarocks install luasocket
- luarocks install luasec
- luarocks install luaexpat
- luarocks install luajson
- luarocks install lualogging
- luarocks install luacrypto
- luarocks install lyaml 6.1.1
script:
- make luacheck
- make test
branches:
only:
- master