blob: fdc86fe02ab876d66f42deaacedd261d8ca66062 (
plain)
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
|
language: python
sudo: false
env:
- LUA="lua 5.1" COMPAT=default
- LUA="lua 5.2" COMPAT=default
- LUA="lua 5.2" COMPAT=none
- LUA="lua 5.3" COMPAT=default
- LUA="lua 5.3" COMPAT=none
- LUA="lua 5.3" COMPAT=default CFLAGS="-DLUA_NOCVTN2S -DLUA_NOCVTS2N"
- LUA="luajit 2.0" COMPAT=none
- LUA="luajit 2.0" COMPAT=all
- LUA="luajit 2.1" COMPAT=none
- LUA="luajit 2.1" COMPAT=all
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 luacheck
- luarocks install luacov-coveralls
script:
- luacheck --codes --std=max *.lua --ignore 211/_ENV
- lua valua-test.lua
after_success:
- lua -lluacov valua-test.lua
- luacov-coveralls
notifications:
email:
on_success: change
on_failure: always
|