From: Marcel Raad Date: Tue, 2 Apr 2019 12:51:21 +0000 (+0200) Subject: travis: install libssh-dev only for --with-libssh build X-Git-Tag: curl-7_65_0~160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=157147f0b064d7854f32a98e155dc33c9b0eee84;p=curl travis: install libssh-dev only for --with-libssh build Reduces the time needed for the other jobs a little. Closes https://github.com/curl/curl/pull/3721 --- diff --git a/.travis.yml b/.travis.yml index 5514bbc25..263af2aad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,6 @@ addons: - stunnel4 - libidn2-0-dev - libssh2-1-dev - - libssh-dev - autopoint # for libpsl that needs autoreconf that uses gettext that needs it - libunistring-dev # for libidn2 needed by libpsl - libnss3-dev @@ -58,6 +57,13 @@ matrix: env: - T=normal C=--with-libssh - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" + addons: + apt: + sources: + - *common_sources + packages: + - *common_packages + - libssh-dev - os: linux compiler: gcc dist: trusty