Skip to content

Commit f7a1f94

Browse files
spacewanderagentzh
authored andcommitted
travis-ci: enabled openssl-1.1.0g builds.
Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
1 parent 4f11b5f commit f7a1f94

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ env:
3636
- OPENSSL_PREFIX=/opt/ssl
3737
- OPENSSL_LIB=$OPENSSL_PREFIX/lib
3838
- OPENSSL_INC=$OPENSSL_PREFIX/include
39-
- OPENSSL_VER=1.0.2j
4039
- LD_LIBRARY_PATH=$LUAJIT_LIB:$LD_LIBRARY_PATH
4140
- TEST_NGINX_SLEEP=0.005
4241
- TEST_NGINX_RANDOMIZE=1
4342
- LUACHECK_VER=0.21.1
4443
matrix:
45-
- NGINX_VERSION=1.13.6
44+
- NGINX_VERSION=1.13.6 OPENSSL_VER=1.0.2n OPENSSL_PATCH_VER=1.0.2h
45+
- NGINX_VERSION=1.13.6 OPENSSL_VER=1.1.0g OPENSSL_PATCH_VER=1.1.0d
4646

4747
before_install:
4848
- sudo luarocks install luacheck $LUACHECK_VER
@@ -77,9 +77,8 @@ script:
7777
- cd lua-resty-lrucache && sudo make DESTDIR=$LUAJIT_PREFIX LUA_LIB_DIR=/share/lua/5.1 install && cd ..
7878
- tar zxf download-cache/openssl-$OPENSSL_VER.tar.gz
7979
- cd openssl-$OPENSSL_VER/
80-
- if [ ! -f openssl-1.0.2h-sess_set_get_cb_yield.patch ]; then wget -O openssl-1.0.2h-sess_set_get_cb_yield.patch https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.0.2h-sess_set_get_cb_yield.patch; fi
81-
- patch -p1 < openssl-1.0.2h-sess_set_get_cb_yield.patch
82-
- ./config shared --prefix=$OPENSSL_PREFIX -DPURIFY > build.log 2>&1 || (cat build.log && exit 1)
80+
- patch -p1 < ../../openresty/patches/openssl-$OPENSSL_PATCH_VER-sess_set_get_cb_yield.patch
81+
- ./config no-threads shared enable-ssl3 enable-ssl3-method -g --prefix=$OPENSSL_PREFIX -DPURIFY > build.log 2>&1 || (cat build.log && exit 1)
8382
- make -j$JOBS > build.log 2>&1 || (cat build.log && exit 1)
8483
- sudo make PATH=$PATH install_sw > build.log 2>&1 || (cat build.log && exit 1)
8584
- cd ../mockeagain/ && make CC=$CC -j$JOBS && cd ..

0 commit comments

Comments
 (0)