]> granicus.if.org Git - curl/commitdiff
travis: install libssh-dev only for --with-libssh build
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 2 Apr 2019 12:51:21 +0000 (14:51 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 11 Apr 2019 19:14:09 +0000 (21:14 +0200)
Reduces the time needed for the other jobs a little.

Closes https://github.com/curl/curl/pull/3721

.travis.yml

index 5514bbc25ec061b75cb7dddbc4aabe89b19fc606..263af2aadfc2ba9c7326a0fa442acc2b22970782 100644 (file)
@@ -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