From 1f2716587aa5c50401878faa3d7caf83931a1150 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 25 Jul 2017 19:29:58 -0700 Subject: [PATCH] Only install curl when building openssl --- circle.yml | 2 -- test/build_openssl.sh | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 0d854910..73dde4a6 100644 --- a/circle.yml +++ b/circle.yml @@ -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 diff --git a/test/build_openssl.sh b/test/build_openssl.sh index 82d9fc7e..9d4323e1 100755 --- a/test/build_openssl.sh +++ b/test/build_openssl.sh @@ -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"