base: lua is always symlinked as the correct version
[luajson.git] / .travis.yml
blob9956e580bb2f58ce7e54758e4983ceb54806a735
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=luajit
31 branches:
32     only:
33         - master
35 before_install:
36     - source .travis/setenv_lua.sh
37     - luarocks install lunit
38     - luarocks install luafilesystem
39     - luarocks install lpeg $LPEG
41 script:
42     - make LUA_BIN=lua check
44 notifications:
45     email:
46         on_success: change
47         on_failure: always