File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 16
16
- NGINX_PREFIX=/opt/nginx
17
17
18
18
before_install :
19
+ - mkdir --parents download-cache
19
20
- sudo apt-get update -qq
20
21
# Get OpenSSL 1.0.2 from Ubuntu Xenial
21
22
# https://packages.ubuntu.com/xenial-updates/libssl1.0.0
22
- - wget "http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb"
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"
23
24
# https://packages.ubuntu.com/xenial/libssl-dev
24
- - wget "http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.2g-1ubuntu4.10_amd64.deb"
25
- - sudo dpkg -i libssl*_amd64.deb
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
+ - sudo dpkg -i download-cache/ libssl*_amd64.deb
26
27
- sudo apt-get install -qq cpanminus
27
28
# Test::Nginx
28
29
- git clone https://github.com/openresty/test-nginx.git
29
30
- cd test-nginx/ && sudo cpanm . && cd ..
30
31
# NGINX source
31
- - mkdir --parents download-cache
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 :
You can’t perform that action at this time.
0 commit comments