forked from cloudflare/raven-lua
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
41 lines (36 loc) · 1.04 KB
/
.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
41
dist: bionic
os: linux
language: c
compiler:
- gcc
addons:
apt:
sources:
- sourceline: 'deb http://openresty.org/package/ubuntu bionic main'
key_url: https://openresty.org/package/pubkey.gpg
packages:
- lua5.1
- lua5.1-dev
- luarocks
- git
- libssl-dev
- build-essential
- wget
- unzip
- openresty
- openresty-resty
cache:
apt: true
directories:
- /home/travis/.luarocks/
install:
- luarocks show lua-cjson || luarocks --local install lua-cjson
- luarocks show luaposix || luarocks --local install luaposix
- luarocks show telescope || luarocks --local install https://raw.githubusercontent.com/jdesgats/telescope/master/rockspecs/telescope-scm-1.rockspec
- luarocks show luasocket || luarocks --local install luasocket
- luarocks show luasec || luarocks --local install luasec
- luarocks show luacheck || luarocks --local install luacheck
script:
- export PATH=${HOME}/.luarocks/bin:${PATH}
- export LUA_PATH='/usr/share/lua/5.1/?.lua;;'
- make test