tests: updates to Lua 5.2/5.3 requirements
[luajson.git] / .travis.yml
blob2627bcb72496c4ffb39026717813d44cfa4c7c29
1 # Lie about language support for broader support
2 language: c
4 sudo: false
6 branches:
7     only:
8         - master
9         - next
10         - 1.2.x
11         - 1.1.x
12         - 1.0.x
14 env:
15     global:
16         - LUAROCKS=2.2.2
17     matrix:
18         - LPEG=0.7-3 LUA=lua5.1
19         - LPEG=0.7-3 LUA=luajit
20         - LPEG=0.8.1-1 LUA=lua5.1
21         - LPEG=0.8.1-1 LUA=luajit
22         - LPEG=0.9-1 LUA=lua5.1
23         - LPEG=0.9-1 LUA=luajit
24         - LPEG=0.10.2-1 LUA=lua5.1
25         - LPEG=0.10.2-1 LUA=lua5.2
26         - LPEG=0.10.2-1 LUA=luajit
27         - LPEG=0.12-1 LUA=lua5.1
28         - LPEG=0.12-1 LUA=lua5.2
29         - LPEG=0.12-1 LUA=lua5.3
30         - LPEG=0.12-1 LUA=luajit
31         - LPEG=0.12-1 LUA=luajit2.0
32         - LPEG=0.12-1 LUA=luajit2.1
34 branches:
35     only:
36         - master
38 before_install:
39     - source .travis/setenv_lua.sh
40     - luarocks install lunitx
41     - luarocks install luafilesystem
42     - luarocks install lpeg $LPEG
44 script:
45     - make LUA_BIN=lua LUNIT_BIN=lunit.sh check
47 notifications:
48     email:
49         on_success: change
50         on_failure: always