-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (36 loc) · 752 Bytes
/
.travis.yml
File metadata and controls
36 lines (36 loc) · 752 Bytes
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
language: perl
perl: 5.18
sudo: false
notifications:
email: false
addons:
apt:
packages:
- libreadline-dev
- libncurses5-dev
- libpcre3-dev
- libssl-dev
- build-essential
env:
global:
- OPENRESTY=1.9.15.1
- OPENRESTY_DIR=$HOME/openresty
before_install:
- bash .ci/setup_openresty.sh
- pip install --user hererocks
- hererocks lua_install -r^ -l 5.1
- export PATH=$PATH:$PWD/lua_install/bin:$OPENRESTY_DIR/nginx/sbin
- eval `luarocks path`
- luarocks install luasocket
- luarocks install luasec
- luarocks install busted
- luarocks install luacheck
install:
- luarocks make
script: make lint && make test
cache:
cpan: true
apt: true
pip: true
directories:
- $OPENRESTY_DIR