File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 18
18
before_install :
19
19
- mkdir --parents download-cache
20
20
- sudo apt-get update -qq
21
+ - sudo apt-get install -qq zlib1g-dev libpcre3-dev cpanminus
21
22
# Get OpenSSL 1.0.2 from Ubuntu Xenial
22
23
# https://packages.ubuntu.com/xenial-updates/libssl1.0.0
23
- - wget -O download-cache/libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb "http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb"
24
+ - test -f download-cache/libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb || wget -O download-cache/libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb "http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb"
24
25
# https://packages.ubuntu.com/xenial/libssl-dev
25
- - wget -O download-cache/libssl-dev_1.0.2g-1ubuntu4.10_amd64.deb "http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.2g-1ubuntu4.10_amd64.deb"
26
+ - test -f download-cache/libssl-dev_1.0.2g-1ubuntu4.10_amd64.deb || wget -O download-cache/libssl-dev_1.0.2g-1ubuntu4.10_amd64.deb "http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.2g-1ubuntu4.10_amd64.deb"
26
27
- sudo dpkg -i download-cache/libssl*_amd64.deb
27
- - sudo apt-get install -qq cpanminus
28
28
# Test::Nginx
29
- - git clone https://github.com/openresty/test-nginx.git
29
+ - git clone https://github.com/openresty/test-nginx.git test-nginx
30
30
- cd test-nginx/ && sudo cpanm . && cd ..
31
31
# NGINX source
32
32
- test -f download-cache/nginx-$NGINX_VERSION.tar.gz || wget -O download-cache/nginx-$NGINX_VERSION.tar.gz http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz
33
33
34
34
install :
35
35
- tar -xzf download-cache/nginx-${NGINX_VERSION}.tar.gz
36
36
- cd nginx-${NGINX_VERSION}/
37
- - ./configure --prefix=${NGINX_PREFIX} --with-debug --add-module=${PWD}/..
37
+ - ./configure --prefix=${NGINX_PREFIX} --with-debug --with-http_ssl_module -- add-module=${PWD}/..
38
38
- make -j${JOBS}
39
39
- sudo make install
40
40
- cd ..
You can’t perform that action at this time.
0 commit comments