Only install curl when building openssl

This commit is contained in:
Steven Fackler 2017-07-25 19:29:58 -07:00
parent 58719820c0
commit 1f2716587a
2 changed files with 3 additions and 2 deletions

View File

@ -4,8 +4,6 @@ job: &JOB
- image: jimmycuadra/rust:1.19.0
steps:
- checkout
- run: apt-get update
- run: apt-get install -y curl
- run: ./test/add_target.sh
- restore_cache:
key: registry

View File

@ -5,6 +5,9 @@ if [ -d ~/openssl ]; then
exit 0
fi
apt-get update
apt-get install -y --no-install-recommends curl
case "${LIBRARY}" in
"libressl")
URL1="http://ftp3.usa.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${VERSION}.tar.gz"