From 157147f0b064d7854f32a98e155dc33c9b0eee84 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Tue, 2 Apr 2019 14:51:21 +0200 Subject: 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 --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3