Skip to content

Commit 9bd28cf

Browse files
authored
Put Debian packages in download-cache
1 parent 5f10d45 commit 9bd28cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ env:
1616
- NGINX_PREFIX=/opt/nginx
1717

1818
before_install:
19+
- mkdir --parents download-cache
1920
- sudo apt-get update -qq
2021
# Get OpenSSL 1.0.2 from Ubuntu Xenial
2122
# 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"
2324
# 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
2627
- sudo apt-get install -qq cpanminus
2728
# Test::Nginx
2829
- git clone https://github.com/openresty/test-nginx.git
2930
- cd test-nginx/ && sudo cpanm . && cd ..
3031
# NGINX source
31-
- mkdir --parents download-cache
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:

0 commit comments

Comments
 (0)