base: updates Travis-CI build structure to use sample
[luajson.git] / .travis.yml
blob2c42b371e153198fe73b67a6f9cacd282c86548a
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