Skip to content

Commit 9e5561e

Browse files
authored
chore(ci) use newer openresty and luarocks releases (#68)
1 parent d056109 commit 9e5561e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ cache:
1414
env:
1515
global:
1616
- JOBS=2
17-
- LUAROCKS_VER=2.4.3
17+
- LUAROCKS_VER=3.5.0
1818
matrix:
19-
- OPENRESTY_VER=1.11.2.2
20-
- OPENRESTY_VER=1.11.2.4
21-
- OPENRESTY_VER=1.15.8.1
19+
- OPENRESTY_VER=1.15.8.3
20+
- OPENRESTY_VER=1.17.8.2
21+
- OPENRESTY_VER=1.19.3.1
2222
# - LINT=1
2323

2424
install:
2525
- sudo apt-get update
2626
- sudo apt-get install -y libssl-dev ssl-cert
2727
- mkdir -p download-cache
28-
- if [ -z "$OPENRESTY_VER" ]; then export OPENRESTY_VER=1.11.2.3; fi
28+
- if [ -z "$OPENRESTY_VER" ]; then export OPENRESTY_VER=1.15.8.3; fi
2929
- if [ ! -f download-cache/openresty-$OPENRESTY_VER.tar.gz ]; then wget -O download-cache/openresty-$OPENRESTY_VER.tar.gz http://openresty.org/download/openresty-$OPENRESTY_VER.tar.gz; fi
3030
- if [ ! -f download-cache/luarocks-$LUAROCKS_VER.tar.gz ]; then wget -O download-cache/luarocks-$LUAROCKS_VER.tar.gz https://luarocks.github.io/luarocks/releases/luarocks-$LUAROCKS_VER.tar.gz; fi
3131
- if [ ! -f download-cache/cpanm ]; then wget -O download-cache/cpanm https://cpanmin.us/; fi

t/11-clear.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ qq{
151151
}
152152
local checker1 = healthcheck.new(config)
153153
checker1:add_target("127.0.0.1", 21120, nil, true)
154-
ngx.sleep(0.3) -- wait 1.5x the interval
154+
ngx.sleep(0.5) -- wait 2.5x the interval
155155
checker1:clear()
156156
checker1:add_target("127.0.0.1", 21120, nil, true)
157157
ngx.sleep(0.3) -- wait 1.5x the interval

0 commit comments

Comments
 (0)