File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ compiler:
1111env :
1212 global :
1313 - NGINX_VERSION=1.9.15
14+ - JOBS=3
15+ - TEST_NGINX_SLEEP=0.006
1416 matrix :
1517 - LUA=libluajit-5.1-dev LUA_DEV=libluajit-5.1-dev LUA_INCLUDE_DIR=/usr/include/luajit-2.0 LUA_CMODULE_DIR=/lib LUALIB=-lluajit-5.1
1618
@@ -23,12 +25,11 @@ install:
2325 - git clone https://github.com/openresty/lua-cjson.git
2426
2527script :
26- - cd lua-cjson && make && sudo make install && cd ..
28+ - cd lua-cjson && make -j$JOBS && sudo make install && cd ..
2729 - tar xzf nginx-${NGINX_VERSION}.tar.gz
2830 - cd nginx-${NGINX_VERSION}/
2931 - ./configure --with-debug --with-cc-opt="-DDEBUG_MALLOC" --with-ipv6 --add-module=../lua-nginx-module > build.log 2>&1 || (cat build.log && exit 1)
30- - make -j2 > build.log 2>&1 || (cat build.log && exit 1)
32+ - make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1)
3133 - export PATH=$PATH:`pwd`/objs
3234 - cd ..
33- - make
34- - prove -lv t
35+ - prove -r t
You can’t perform that action at this time.
0 commit comments