Skip to content

Commit 63ede09

Browse files
authored
Fix build
Tried on an UpCloud server as Travis does not start.
1 parent 9bd28cf commit 63ede09

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ env:
1818
before_install:
1919
- mkdir --parents download-cache
2020
- sudo apt-get update -qq
21+
- sudo apt-get install -qq zlib1g-dev libpcre3-dev cpanminus
2122
# Get OpenSSL 1.0.2 from Ubuntu Xenial
2223
# 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"
2425
# 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"
2627
- sudo dpkg -i download-cache/libssl*_amd64.deb
27-
- sudo apt-get install -qq cpanminus
2828
# Test::Nginx
29-
- git clone https://github.com/openresty/test-nginx.git
29+
- git clone https://github.com/openresty/test-nginx.git test-nginx
3030
- cd test-nginx/ && sudo cpanm . && cd ..
3131
# NGINX source
3232
- 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
3333

3434
install:
3535
- tar -xzf download-cache/nginx-${NGINX_VERSION}.tar.gz
3636
- 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}/..
3838
- make -j${JOBS}
3939
- sudo make install
4040
- cd ..

0 commit comments

Comments
 (0)