Skip to content

Commit 9a963f2

Browse files
committed
Update travis file.
1 parent 2dd2fad commit 9a963f2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ matrix:
1414
env: LUA="luajit 2.0"
1515
- compiler: ": LuaJIT21"
1616
env: LUA="luajit 2.1"
17+
- compiler: ": LuaJIT20"
18+
env: LUA="luajit 2.0" COMPAT=5.2
19+
- compiler: ": LuaJIT21"
20+
env: LUA="luajit 2.1" COMPAT=5.2
1721

1822
cache:
1923
directories:
@@ -23,15 +27,15 @@ cache:
2327
before_install:
2428
- export CC=gcc
2529
- pip install --user hererocks
26-
- hererocks here -r^ --$LUA;
30+
- hererocks here -r^ --$LUA --compat ${COMPAT:-default}
2731
- export PATH=$PATH:$PWD/here/bin
2832

2933
install:
3034
- luarocks show lpeg || luarocks install lpeg
3135
- luarocks make rockspecs/prefix_tree-scm-0.rockspec
3236

3337
before_script:
34-
- luarocks show luacov-coveralls || luarocks install luacov-coveralls
38+
- luarocks show luacov-coveralls || luarocks install luacov-coveralls --server=http://luarocks.org/dev
3539
- luarocks show lunitx || luarocks install lunitx
3640

3741
script:
@@ -41,7 +45,7 @@ script:
4145
- lunit.sh test.lua
4246

4347
after_success:
44-
- luacov-coveralls
48+
- luacov-coveralls -v
4549

4650
notifications:
4751
email:

0 commit comments

Comments
 (0)