Skip to content

Commit 127bd31

Browse files
committed
made changes to .travis.yml.
1 parent f03e1ff commit 127bd31

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ env:
2727
- PCRE_INC=$PCRE_PREFIX/include
2828
- JOBS=3
2929
- NGX_BUILD_JOBS=$JOBS
30+
- TEST_NGINX_SLEEP=0.006
3031
matrix:
3132
- NGINX_VERSION=1.9.15
3233

@@ -71,6 +72,10 @@ script:
7172
- export NGX_BUILD_CC=$CC
7273
- sh util/build.sh $NGINX_VERSION > build.log 2>&1 || (cat build.log && exit 1)
7374
- nginx -V
74-
- ldd `which nginx`|grep luajit
75+
- ldd `which nginx`|grep -E 'luajit|ssl|pcre'
7576
- export LD_PRELOAD=$PWD/mockeagain/mockeagain.so
77+
- export LD_LIBRARY_PATH=$PWD/mockeagain:$LD_LIBRARY_PATH
78+
- export TEST_NGINX_RESOLVER=8.8.4.4
79+
- dig +short @$TEST_NGINX_RESOLVER openresty.org || exit 0
80+
- dig +short @$TEST_NGINX_RESOLVER agentzh.org || exit 0
7681
- prove -r t

0 commit comments

Comments
 (0)