-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 899 Bytes
/
.travis.yml
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
38
39
40
language: c
sudo: required
dist: trusty
env:
- LUA="lua=5.1"
- LUA="lua=5.2"
- LUA="lua=5.3"
- LUA="luajit=2.0"
- LUA="luajit=2.1"
install:
- luarocks install moonscript
# - luarocks install lua-toml # Broken rockspec being hosted on Luarocks.
- git clone https://github.com/jonstoler/lua-toml && cp lua-toml/toml.lua .
- luarocks install argparse
- luarocks install luafilesystem
- luarocks install busted
- luarocks install luacov-coveralls
- luarocks install luajson # For .coveralls.
- luarocks install split
- (cd .coveralls; make)
before_install:
- sudo pip3 install hererocks
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin
script:
- LUA_PATH="./.?.lua;;" busted --verbose
cache:
directories:
- lua_install
addons:
apt:
packages:
- python3-pip